On 26/10/2010 11:30 AM, Alaios wrote:
in a simple plot. When i do plot is it possible to zoom in or out or this is not possible at all?
There's no general support for that, but you could conceivably write it yourself using getGraphicsEvent. The example code there adjusts xlim and ylim according to mouse movements. It works reasonably well in Windows or the device in the cairoDevice package, and is sometimes acceptable in X11. Other devices don't have the necessary support for it.
Duncan Murdoch ______________________________________________ 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.