| imageDefault | R Documentation |
Display a color raster image
imageDefault(
x = seq_len(nrow(z) + 1) - 0.5,
y = seq_len(ncol(z) + 1) - 0.5,
z,
zlim = range(z[is.finite(z)]),
xlim = range(x),
ylim = range(y),
col = grDevices::hcl.colors(12, "YlOrRd", rev = TRUE),
add = FALSE,
xaxs = "i",
yaxs = "i",
xaxt = "n",
yaxt = "n",
xlab,
ylab,
breaks,
flip = c("none", "x", "y", "xy"),
oldstyle = TRUE,
useRaster = NULL,
fixRasterRatio = TRUE,
maxRatioFix = 10,
minRasterMultiple = NULL,
rasterTarget = 200,
interpolate = getOption("interpolate", TRUE),
verbose = FALSE,
...
)
x |
|
y |
|
z |
|
zlim |
|
xlim |
|
ylim |
|
col |
|
add |
|
xaxs |
|
yaxs |
|
xaxt |
|
yaxt |
|
xlab |
|
ylab |
|
breaks |
|
flip |
|
oldstyle |
|
useRaster |
|
fixRasterRatio |
|
maxRatioFix |
|
minRasterMultiple |
|
rasterTarget |
|
interpolate |
|
verbose |
|
... |
Additional arguments are ignored. |
This function augments the image function, in
that it handles the useRaster parameter for non-symmetric data matrices,
in order to minimize the distortion from image-smoothing when pixels are
not square.
The function also by default creates the image map using coordinates where
each integer represents the center point of one column or row of data,
known in the default image function as oldstyle=TRUE.
For consistency, imageDefault will only accept oldstyle=TRUE.
list composed of elements suitable to call
graphics::image.default().
image
Other jam plot functions:
adjustAxisLabelMargins(),
coordPresets(),
decideMfrow(),
drawLabels(),
getPlotAspect(),
groupedAxis(),
imageByColors(),
minorLogTicksAxis(),
nullPlot(),
plotPolygonDensity(),
plotRidges(),
plotSmoothScatter(),
shadowText(),
shadowText_options(),
showColors(),
sqrtAxis(),
usrBox()
ps <- plotSmoothScatter(doTest=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.