- zlim
two-element vector containing the lower and upper limits of z.
This may also be a vector of any length exceeding 1, in which case its range
is used.
- zlab
label for the palette scale.
- breaks
optional numeric vector of the z values for breaks in the color scheme.
If colormap
is provided, it takes precedence over breaks
and col
.
- col
optional argument, either a vector of colors corresponding to the breaks, of length
1 less than the number of breaks, or a function specifying colors.
If col
is not provided, and if colormap
is also not provided, then col
defaults to oceColorsViridis()
.
If colormap
is provided, it takes precedence over breaks
and col
.
- colormap
an optional color map as created by colormap()
.
If colormap
is provided, it takes precedence over breaks
and col
.
- mai
margins for palette, as defined in the usual way; see
par()
. If not given, reasonable values are inferred from the
existence of a non-blank zlab
.
- cex
numeric character expansion value for text labels
- pos
an integer indicating the location of the palette within the
plotting area, 1 for near the bottom, 2 for near the left-hand side, 3 for
near the top side, and 4 (the default) for near the right-hand side.
- las
optional argument, passed to axis()
, to control the orientation
of numbers along the axis. As explained in the help for par()
, the
meaning of las
is as follows: las=0
(the default) means to put labels
parallel to the axis, las=1
means horizontal (regardless of
axis orientation), las=2
means perpendicular to the axis,
and las=3
means to vertical (regardless of axis orientation). Note that
the automatic computation of margin spacing parameter mai
assumes that las=0
, and so for other cases, the user may need to
specify the mai
argument directly.
- labels
optional vector of labels for ticks on palette axis (must
correspond with at
)
- at
optional vector of positions for the label
s
- levels
optional contour levels, in preference to breaks
values, to be added to the image if drawContours
is TRUE
.
- drawContours
logical value indicating whether to draw contours on the
palette, at the color breaks.
- plot
logical value indicating whether to plot the palette, the
default, or whether to just alter the margins to make space for where the
palette would have gone. The latter case may be useful in lining up plots,
as in example 1 of “Examples”.
- fullpage
logical value indicating whether to draw the palette filling
the whole plot width (apart from mai
, of course). This can be
helpful if the palette panel is to be created with layout()
, as
illustrated in the “Examples”.
- drawTriangles
logical value indicating whether to draw triangles on
the top and bottom of the palette. If a single value is provided, it applies
to both ends of the palette. If a pair is provided, the first refers to the
lower range of the palette, and the second to the upper range.
- axisPalette
optional replacement function for axis()
, e.g.
for exponential notation on large or small values.
- tformat
optional format for axis labels, if the variable is a time
type (ignored otherwise).
- debug
a flag that turns on debugging. Set to 1 to get a moderate
amount of debugging information, or to 2 to get more.
- ...
optional arguments passed to plotting functions.