[R] How to do the multiple plots?

Petr Pikal petr.pikal at precheza.cz
Mon Nov 28 08:43:12 CET 2005



On 26 Nov 2005 at 15:40, Wei Qiu wrote:

Date sent:      	Sat, 26 Nov 2005 15:40:52 -0500 (EST)
From:           	Wei Qiu <wqiu at nmr.mgh.harvard.edu>
To:             	Gabor Grothendieck <ggrothendieck at gmail.com>
Copies to:      	r-help <r-help at stat.math.ethz.ch>
Subject:        	Re: [R] How to do the multiple plots?

> Dear Babor and all,
> 
> Thanks for your quick response. I tried the following. We can plot y1
> and Y2 on one figs. It just shows one Y axis on the left side. I would
> like to show the Y1 axis on left side and Y2 Axis on right side.
> 
> Any others input,

Hi

so add to your evening reading also

?axis and other functions from See also chapters in man 
pages.

HTH
Petr



> 
> Wei
> 
> On Sat, 26 Nov 2005, Gabor Grothendieck wrote:
> 
> > ?lines
> > ?matplot
> > ?ts.plot
> > library(zoo); ?plot.zoo
> >
> >
> > On 11/26/05, Wei Qiu <wqiu at nmr.mgh.harvard.edu> wrote:
> >> Hi all,
> >>
> >> I am new in R tool. I have a basic question. I would like to do a
> >> combination of two multiple lines plots for one X-variable and two
> >> different sets (lists) of Y-variables. Any suggestion will be
> >> greatly appreciated.
> >>
> >> Thanks!
> >>
> >> Wei
> >>
> >> ______________________________________________
> >> R-help at 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 at 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

Petr Pikal
petr.pikal at precheza.cz




More information about the R-help mailing list