Skip to content
Prev 207559 / 398506 Next

Same y-axis on multiple plots?

On 01/26/2010 01:52 AM, Andreas Bergstr?m wrote:
Hi Andreas,
I didn't see an answer to your question, so I'll suggest that you take 
these warnings seriously:

Warning messages:
1: In plot.window(...) : "ylim.max" is not a graphical parameter
2: In plot.xy(xy, type, ...) : "ylim.max" is not a graphical parameter
3: In title(...) : "ylim.max" is not a graphical parameter

and try this:

plot(str,type="b",main=mymain,xlab=myxlab,ylab=myylab,lwd=2,
  axes=F,ylim=c(0,600))

as the plot command.

Jim