[R] How to plot a blank plot

Chuck Cleland ccleland at optonline.net
Fri Feb 13 21:28:57 CET 2004


Adrian Custer wrote:

> In plotting several graphics, I'd like to be able to plot a blank plot
> as in:
> 
> par(mfrow=c(2,1))
> plot(BLANK)
> hist(rgamma(100000,6463.7,scale=0.015471),xlim=c(0,120),main="Emergence")
> 
> I realize screen allows me to do this, but I figure the functionality
> must be there. Is there an equivalent to plot(BLANK)?

par(mfrow=c(2,1))
frame()
hist(rgamma(100000,6463.7,scale=0.015471),xlim=c(0,120),main="Emergence")

see ?frame

-- 
Chuck Cleland, Ph.D.
NDRI, Inc.
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 452-1424 (M, W, F)
fax: (917) 438-0894




More information about the R-help mailing list