[R] shaded area graph and extra plot

2008-02-14 Thread Luis Ridao Cruz
R-help, I'm using the code below to plot a shaded area graph. At the same time I want to plot a second series on the y-axis (from par(new=T) on) but as the two series have different x-axis range (first 1994:2007 and second 1996:2007) the corresponding x's do not match. How can this be sorted ou

Re: [R] shaded area graph and extra plot

2008-02-12 Thread jim holtman
Use 'xlim=c(1993,2008)' in your second plot to setup the same range. On Feb 12, 2008 10:39 AM, Luis Ridao Cruz <[EMAIL PROTECTED]> wrote: > R-help, > > I'm using the code below to plot a shaded area graph. > > At the same time I want to plot a second series on the y-axis (from > par(new=T) on) > b

[R] shaded area graph and extra plot

2008-02-12 Thread Luis Ridao Cruz
R-help, I'm using the code below to plot a shaded area graph. At the same time I want to plot a second series on the y-axis (from par(new=T) on) but as the two series have different x-axis range (first 1994:2007 and second 1996:2007) the corresponding x's do not match. How can this be sorted ou