| nullPlot | R Documentation |
Create a blank plot with optional labels for margins
nullPlot(
xaxt = "n",
yaxt = "n",
xlab = "",
ylab = "",
col = "transparent",
xlim = c(1, 2),
ylim = c(1, 2),
las = graphics::par("las"),
doBoxes = TRUE,
doUsrBox = doBoxes,
fill = "#FFFF9966",
doAxes = FALSE,
doMargins = TRUE,
marginUnit = c("lines", "inches"),
plotAreaTitle = "Plot Area",
plotSrt = 0,
plotNumPrefix = "",
bty = "n",
showMarginsOnly = FALSE,
add = FALSE,
...
)
xaxt |
|
yaxt |
|
xlab |
|
ylab |
|
col |
|
xlim |
|
ylim |
|
las |
|
doBoxes |
|
doUsrBox |
|
fill |
|
doAxes |
|
doMargins |
|
marginUnit |
|
plotAreaTitle |
|
plotSrt |
numeric angle for the plotAreaTitle, which is good for labeling this plot with vertical text when displaying a plot panel inside a grid layout, where the plot is taller than it is wide. |
plotNumPrefix |
|
bty |
|
showMarginsOnly |
|
add |
|
... |
additional arguments are ignored. |
This function creates an empty plot space, using the current
graphics::par() settings for margins, text size, etc. By default
it displays a box around the plot window, and labels the margins and
plot area for review. It can be useful as a visual display of various
base graphics settings, or to create an empty plot window with pre-defined
axis ranges. Lastly, one can use this function to create a "blank" plot
which uses a defined background color, which can be a useful precursor to
drawing an image density which may not cover the whole plot space.
no output, this function is called for the byproduct of creating a blank plot, optionally annotating the margins.
Other jam plot functions:
adjustAxisLabelMargins(),
coordPresets(),
decideMfrow(),
drawLabels(),
getPlotAspect(),
groupedAxis(),
imageByColors(),
imageDefault(),
minorLogTicksAxis(),
plotPolygonDensity(),
plotRidges(),
plotSmoothScatter(),
shadowText(),
shadowText_options(),
showColors(),
sqrtAxis(),
usrBox()
nullPlot()
nullPlot(doBoxes=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.