[R] Change Axis Size

John Kane jrkrideau at yahoo.ca
Fri Mar 23 14:43:54 CET 2007


I think that technically the answer is no.  What you
need to do is set the size of the appropriate axis
with the first plot command ( xlim = or ylim = 

Have a look at ?plot.default
--- webb at stats.ox.ac.uk wrote:

> Sorry if this is an obvious question but I have not
> been able to find the
> answer.
> I wish to plot 3 lines on the same plot. However,
> whichever one I plot
> first, the axis does not have a big enough range for
> the other two to be
> shown in the plot (they get cut off at the top and
> the bottom). Is there a
> way to change the range of the y-axis when adding a
> new line to the plot?
> 
> Thank you,
> 
> Alex
> 
> ______________________________________________
> 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
> and provide commented, minimal, self-contained,
> reproducible code.
>



More information about the R-help mailing list