[R] How to plot a blank plot
Marc Schwartz
MSchwartz at medanalytics.com
Fri Feb 13 21:31:19 CET 2004
On Fri, 2004-02-13 at 14:11, Adrian Custer wrote:
> Hello everyone,
>
> 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)?
>
> thanks,
> adrian
>
> PS. please reply direct as I'm not subscribed to the list.
Try either:
par(mfrow=c(2,1))
frame()
hist(rgamma(100000,6463.7,scale=0.015471),xlim=c(0,120),main="Emergence")
or
par(mfrow=c(2,1))
plot.new()
hist(rgamma(100000,6463.7,scale=0.015471),xlim=c(0,120),main="Emergence")
See ?plot.new or ?frame, which will lead you to the same help page.
HTH,
Marc Schwartz
More information about the R-help
mailing list