[R] R: graphics devices

2005-07-29 Thread Clark Allan
a simple question how does one produce plots on two different graphics devices? / allan__ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Re: [R] R: graphics devices

2005-07-29 Thread Sean O'Riordain
Alan, I'm not sure what you mean... perhaps plot(y~x) # to the screen pdf(myplot.pdf) plot(y~x) # write the plot to the file dev.off() # close the file dev.off() # close the graphics window s/ On 29/07/05, Clark Allan [EMAIL PROTECTED] wrote: a simple question how does one produce plots on

Re: [R] R: graphics devices

2005-07-29 Thread Clark Allan
one could use the par command to plot several plots on 1 graphics device. i would like to do the following: say plot(y~x) on one screen and then plot(q~w) on another screen so that one can see both of them together but not on the same graphics device. Sean O'Riordain wrote: Alan, I'm not

Re: [R] R: graphics devices

2005-07-29 Thread TEMPL Matthias
Eventually one way: With X11() you can open additional graphic devices. x - rnorm(100) y - x + runif(100) plot(x) X11() plot(x,y) Best, Matthias a simple question how does one produce plots on two different graphics devices? / allan __

Re: [R] R: graphics devices

2005-07-29 Thread Chuck Cleland
Is this on windows? If so, how about the following: windows() plot(y~x) windows() plot(q~x) For me, this creates two different plot _windows_ and you could tile them to see each side-by-side. But I'm not sure how that would be preferable to having the plots in the same window.

Re: [R] R: graphics devices

2005-07-29 Thread Sean O'Riordain
actually X11() also works under windows! X11() plot(y~x) X11() plot(q~x) On 29/07/05, Chuck Cleland [EMAIL PROTECTED] wrote: Is this on windows? If so, how about the following: windows() plot(y~x) windows() plot(q~x) For me, this creates two different plot _windows_ and

Re: [R] R: graphics devices

2005-07-29 Thread Spyridoula Tsonaka
of Leuven Kapucijnenvoer 35 B-3000 Leuven Belgium Tel: +32/16/336899 Fax: +32/16/337015 - Original Message - From: Clark Allan [EMAIL PROTECTED] To: r-help@stat.math.ethz.ch Sent: Friday, July 29, 2005 1:30 PM Subject: [R] R: graphics devices a simple question how does one produce

Re: [R] R: graphics devices

2005-07-29 Thread ronggui
@stat.math.ethz.ch Sent: Friday, July 29, 2005 1:30 PM Subject: [R] R: graphics devices a simple question how does one produce plots on two different graphics devices? / allan 2005-07-29 -- Deparment of Sociology Fudan University Blog:http://sociology.yculblog.com

Re: [R] R: graphics devices

2005-07-29 Thread Don MacQueen
I'd suggest starting with the documentation. See ?Devices and then look at some of the other functions referenced in the See Also section of ?Devices. Basically, you produce plots on two different graphics devices by this sequence: 1) open a graphics device 2) produce a plot 3)

Re: [R] R: graphics devices

2005-07-29 Thread Prof Brian Ripley
/336899 Fax: +32/16/337015 - Original Message - From: Clark Allan [EMAIL PROTECTED] To: r-help@stat.math.ethz.ch Sent: Friday, July 29, 2005 1:30 PM Subject: [R] R: graphics devices a simple question how does one produce plots on two different graphics devices? / allan 2005

Re: [R] R: graphics devices

2005-07-29 Thread Berton Gunter
:09 AM To: ronggui Cc: r-help@stat.math.ethz.ch Subject: Re: [R] R: graphics devices This is for Windows only, and documented in ?windows README.rw2011 (or whatever) It's more usual to switch recording on when you need it, either in the windows() call or from a menu. ?options only