[R] creating a postscript file with two xyplots
mackay at northnet.com.au
Thu May 14 07:56:39 CEST 2009
What you need to do is to specify where your plots are going on the page.
This can depend on the graphics package used
To start you going if you are using the base graphics:- plot etc see ?layout
For lattice see ?viewports for a start.
Department of Agronomy and Soil Science
University of New England
ARMIDALE NSW 2351
Email home: mackay at northnet.com.au
At 11:33 14/05/2009, you wrote:
>Thank you for your reply.
>This is exactly what I have done.
>However, I would like to get the two plots next to each other (to use as one
>At the moment the two plots are on two different pages.
>my ps is set as:
>postscript(file = "myRplot.ps",bg="transparent",pointsize=1.0,
>Can it be that it has something to do with the size of the paper?
>Or is there some other parameter I need to set?
>Dieter Menne wrote:
> > Liati <liats80 <at> hotmail.com> writes:
> >> I would like to create one postscript file with two different xyplots
> >> (which
> > library(lattice)
> > postscript("myps.ps")
> > xyplot(1~1,main="Plot 1")
> > xyplot(2~3,main="Plot 2")
> > dev.off()
> > Dieter
> > ______________________________________________
> > R-help at r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide
> > http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
>View this message in context:
>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-guide.html
>and provide commented, minimal, self-contained, reproducible code.
More information about the R-help