Description Usage Arguments Examples
Contrary to filled.contour
, this function provides
the atmoic function for contour shading in analogy with
image
and contour
.
1 2 3 4 5 6 | filled_contour(x = seq(0, 1, length.out = nrow(z)), y = seq(0, 1, length.out
= ncol(z)), z, levels = pretty(zlim, 12), col = NULL, xlim = range(x),
ylim = range(y), zlim = range(z[is.finite(z)]), add = FALSE,
axes = TRUE, type = c("contour", "image"), col.axis = 1, col.box = 1,
add.boundary = TRUE, col.contour = "grey", lty.contour = 1,
lwd.contour = 1, drawlabels = FALSE, ...)
|
x, y |
Locations of grid cells for values of |
z |
Matrix containing the values to be plotted. |
levels |
Numeric vector of levels at which to draw contours. |
col |
Vector of colours to use for shading in between contours. |
xlim, ylim, zlim |
x- y- and z-limits for the plot. |
add |
Logical, hsould plot be added to existing plot? |
axes |
Logical, should axes and bounding box be drawn? |
type |
One of 'contour' or 'image' for contour and image plots respectively. |
col.axis, col.box |
Colour for axes and bounding box. |
add.boundary |
Logical, should filled contours be separated with a
boundary line (drawn by |
col.contour, lty.contour, lwd.contour |
Colour, line type, and line width for boundary contours. |
drawlabels |
Logical, contours are labelled if |
... |
Additional arguments to |
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.