Re: [R] creating a postscript file with two xyplots

2009-05-14 Thread Deepayan Sarkar
On 5/13/09, Liati wrote: > > Hi, > 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 > figure). Look at ?print.trellis and its examples. -Deepayan __ R-hel

Re: [R] creating a postscript file with two xyplots

2009-05-13 Thread Duncan Mackay
Hi 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. HTH Duncan Mackay Department of Agronomy and Soil Scie

Re: [R] creating a postscript file with two xyplots

2009-05-13 Thread Liati
Hi, 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 figure). 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,

Re: [R] creating a postscript file with two xyplots

2009-05-13 Thread Dieter Menne
Liati 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@r-project.org mailing list

[R] creating a postscript file with two xyplots

2009-05-12 Thread Liati
Hi, I would like to create one postscript file with two different xyplots (which use different datasets). Is there a (relitively easy) way to do this? Many thanks!!! Liat. -- View this message in context: http://www.nabble.com/creating-a-postscript-file-with-two-xyplots-tp23515202p23515202.html