BlankPlot: BlankPlot Function

Description Usage Arguments Value Author(s) Examples

Description

This function draws a plot using base R graphics with no axes, no axis labels, no title, and no data. It should usually be used in conjunction with other functions for plotting in base R, such as points, lines, rect, etc.

Usage

1
BlankPlot(xlim = c(0, 1), ylim = c(0, 1), ...)

Arguments

xlim

x axis limits for the plot, as in plot

ylim

y axis limits for the plot, as in plot

...

additional graphical parameters

Value

No return value. Just draws the plot.

Author(s)

Robert Corty

Examples

1
2
3
4
5
6
BlankPlot()
points(x = runif(n = 10), y = runif(n = 10))
BlankPlot(xlim = c(0, 100), ylim = c(0, 100))
lines(x = rnorm(n = 10, mean = 50, sd = 10),
      y = rnorm(n = 10, mean = 50, sd = 10))
BlankPlot(main = "My Great Plot")

rcorty/CortyKit documentation built on May 27, 2019, 3:03 a.m.