[R] How to do the multiple plots?

Gabor Grothendieck ggrothendieck at gmail.com
Sat Nov 26 23:40:40 CET 2005


axis(4, .,..) does it.  Try

     RSiteSearch("axis(4,")

to locate examples.


On 11/26/05, Wei Qiu <wqiu at nmr.mgh.harvard.edu> wrote:
> On Sat, 26 Nov 2005, Wei Qiu wrote:
>
> > Dear Gabor 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,
> >
> > 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
> >
> >
> >
>




More information about the R-help mailing list