[R] Making a picture that is wide and small height
Greg.Snow at imail.org
Wed Dec 3 17:10:58 CET 2008
Look at the squishplot function in the TeachingDemos package, that may do what you want.
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
greg.snow at imail.org
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of David Epstein
> Sent: Wednesday, December 03, 2008 1:00 AM
> To: r-help at r-project.org
> Subject: [R] Making a picture that is wide and small height
> How do I make a picture that is a horizontal strip? I tried
> > plot(x=c(1,2,3,4),y=c(1,1,1,1)) #works but screen image is square.
> > pdf("ratio.pdf",height=1,width=6)
> > plot(x=c(1,2,3,4),y=c(1,1,1,1))
> I got the following error message:
> Error in plot.new() : figure margins too large
> Is it possible to produce an on-screen picture that is a horizontal
> (I use Mac Os X 10.4.11, and quartz().) What about pdf?
> I have spent many hours trawling through the online help information
> this forum, without success. Where is this explained?
> Thanks for any help
> View this message in context: http://www.nabble.com/Making-a-picture-
> Sent from the R help mailing list archive at Nabble.com.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help