Plots A Vertical Section
Plot a (longitude,depth) or (latitude,depth) section.
PlotSection( var, horiz, depth, toptitle = "", sizetit = 1, units = "", brks = NULL, cols = NULL, axelab = TRUE, intydep = 200, intxhoriz = 20, drawleg = TRUE, fileout = NULL, width = 8, height = 5, size_units = "in", res = 100, ... )
var |
Matrix to plot with (longitude/latitude, depth) dimensions. |
horiz |
Array of longitudes or latitudes. |
depth |
Array of depths. |
toptitle |
Title, optional. |
sizetit |
Multiplicative factor to increase title size, optional. |
units |
Units, optional. |
brks |
Colour levels, optional. |
cols |
List of colours, optional. |
axelab |
TRUE/FALSE, label the axis. Default = TRUE. |
intydep |
Interval between depth ticks on y-axis. Default: 200m. |
intxhoriz |
Interval between longitude/latitude ticks on x-axis. |
drawleg |
Draw colorbar. Default: TRUE. |
fileout |
Name of output file. Extensions allowed: eps/ps, jpeg, png,
pdf, bmp and tiff. |
width |
File width, in the units specified in the parameter size_units (inches by default). Takes 8 by default. |
height |
File height, in the units specified in the parameter size_units (inches by default). Takes 5 by default. |
size_units |
Units of the size of the device (file or window) to plot in. Inches ('in') by default. See ?Devices and the creator function of the corresponding device. |
res |
Resolution of the device (file or window) to plot in. See ?Devices and the creator function of the corresponding device. |
... |
Arguments to be passed to the method. Only accepts the following
graphical parameters: |
History:
0.1 - 2012-09 (V. Guemas, virginie.guemas@ic3.cat) - Original code
1.0 - 2013-09 (N. Manubens, nicolau.manubens@ic3.cat) - Formatting to CRAN
sampleData <- s2dverification::sampleDepthData PlotSection(sampleData$mod[1, 1, 1, 1, , ], sampleData$lat, sampleData$depth, toptitle = 'temperature 1995-11 member 0')
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.