[R] Plot range resizing when adding additiona lines

From: Hikel, Jerry <Jerry.Hikel_at_sac.com>
Date: Wed 25 May 2005 - 06:41:05 EST

Hi -- I have searched the documentation and archives on graphing capabilities in R for the past couple of hours, but I haven't been able to find anything directly related to my problem.

I want to create a plot with several lines displayed on it. I want each line to be displayed in a different color, so it seems the only way to do this is to create a plot and then use the lines() function. However, once i create the original plot, when I add new lines to the plot, the axes range stays the same, and the new lines often extend beyond the range of the original axes, cutting off the data of the added lines.

Is there any way to force the plot to resize it's axes range when new lines are added, or is there some other optional way of implementing this? Thanks.

DISCLAIMER: This e-mail message and any attachments are inte...{{dropped}}

R-help@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 Received on Wed May 25 07:05:12 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:01 EST