Skip to content
Prev 12486 / 398502 Next

plot() axis problem

The example I posted was artificial because my real example had 10,000
pts and I didn't want to post that. Basically I wanted to look at the
region surrounding one frequency of the spectrum where I expected a peak.
I couldn't see the peak because plot() had used the whole set of data to
pick the range for the y-axis.

There was of course a nice peak but it was invisible because this peak was
maybe 1/1000 as high as the maximum peak in the whole spectrum.
If you look around at other plotting programs out there I think you'll see
some doing what I propose. I think if you use small datasets the current
plot() behaviour will not cause problems. It's only a pain once you start
zooming in on small stretches.

Bill

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._