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.
Is plot.new() what you're looking for? Andy> From: Adrian Custer > > 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. > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > >------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachments,...{{dropped}}
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
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
On Fri, 13 Feb 2004 12:11:26 -0800, you 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)?"frame()" is probably what you want. You can also get a blank plot (but set up coordinates, etc.) with something like plot(1, type="n", axes=F, xlab="", ylab="") This would allow you to plot points and lines and text in the empty space; frame() would not. Duncan Murdoch