Re: [R] R: graphics devices

From: Sean O'Riordain <sean.oriordain_at_gmail.com>
Date: Fri 29 Jul 2005 - 22:03:26 EST

actually X11() also works under windows!

X11()
plot(y~x)
X11()
plot(q~x)

On 29/07/05, Chuck Cleland <ccleland@optonline.net> 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 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. What exactly do you
> mean by different screens?
>
> Clark Allan wrote:
> > 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 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 <Allan@stats.uct.ac.za> wrote:
> >>
> >>>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
> >>>
> >>>
> >>>
> >>>
> >>>------------------------------------------------------------------------
> >>>
> >>>______________________________________________
> >>>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
>
> --
> 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
>



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 Received on Fri Jul 29 22:11:39 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 14:59:07 EST