On Tue, Aug 31, 2010 at 03:26:12AM -0700, Wonsang You wrote: > In the above codes, I had to arbitrarily set up the coordinate range of the > figure in advance before calculating the values y. (seexlim and ylim) > In results, the figure did not contain all data since most of data were > outside the predefined range. > I am wondering about how to control xlim and ylim adaptive to the real range > of data, in order to include all data in the figure.
You do that by not specifying xlim and ylim - in that case R will calculate them based on your data. Maybe I did not understand waht exactly you want to get but if you explicitly set the limits that's what R is going to use. cu Philipp -- Dr. Philipp Pagel Lehrstuhl für Genomorientierte Bioinformatik Technische Universität München Wissenschaftszentrum Weihenstephan Maximus-von-Imhof-Forum 3 85354 Freising, Germany http://webclu.bio.wzw.tum.de/~pagel/ ______________________________________________ R-help@r-project.org 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.