[R] Plotting 2 Lines on the Same Chart

Gabor Grothendieck ggrothendieck at gmail.com
Fri Oct 29 20:33:48 CEST 2010


On Fri, Oct 29, 2010 at 2:30 PM, Jason Kwok <jaykwok at gmail.com> wrote:
> Thanks.  1 more question.
>
> When I use
>
> Plot(series1)
> lines(series2)
>
> The graph will use the y axis scaling for series 1 so some of series 2 is
> cut off.  How do I control the y axis scaling?
>

Plot them together as a multivariate series as in the examples already
pointed to.

-- 
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com



More information about the R-help mailing list