Learn R Programming

oceanmap (version 0.1.6)

empty.plot: Creates an empty scatter plot

Description

Creates an empty scatter plot that is equal to the function call:

plot(1,lwd=0,axes=F,xlab="",ylab="",...)

Usage

empty.plot(..., xlab = "", ylab = "", new=T, add=!new, n=1, axes = F)

Arguments

...

other arguments of the generic x-y plotting fucntion plot.

xlab, ylab

label for the x- and y-axis of the plot (default is empty).

new, add

whether to show add plot to a current plot device or to start a new figure (default is: new=TRUE and add=FALSE).

n

number of figures to be plotted (default is 1)

axes

whether to show plot axes (default is FALSE).

Author

Robert K. Bauer

Examples

Run this code
empty.plot()
title("empty plot")
box()
axis(1)
axis(2)

Run the code above in your browser using DataLab