[R] Plot zooming i.e. changing ylim according to xlim
h.andersson at nioo.knaw.nl
Tue Jul 26 11:13:06 CEST 2005
>>I would like to zoom in a plot, e.g. I select a region on the
>>then I would like the ranges on the y-axis to change accordingly.
>>Is it possible to do this with existing functions, or do I have to
>>invent some data selection before plotting?
>>See below a short example, where I select ylim with trial and error,
>>which I want to avoid.
Mulholland, Tom wrote:
> Search the archives for zoom and you will find plenty of answers on
I looked there already, but I could only find interactive zooming, which
is also nice, but I want a non-interactive function that automagically
changes the y-axis to fit only the data specified in the part of the
x-axis, or the other way around. I guess that was not very clear from my
More information about the R-help