Did you try the examples on the zoomplot help page?  OK, you don't have a fancy pointer that looks like a magnifying glass, but the 1st example creates a plot, then you just click in 2 places to form a rectangle and the plot is redrawn only showing that rectangle.

--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow@imail.org
801.408.8111

From: Alaios [mailto:alaios@yahoo.com]
Sent: Wednesday, October 27, 2010 12:19 AM
To: Greg Snow; Rhelp
Subject: Re: [R] Zoom in in a plot

Actually I want to see  how close are some point to a line segment  so I want to use some zoom lenses and zoom in and out into different parts of the plot and see how some places look like.

Best Regards

________________________________
From: Greg Snow <Greg.Snow@imail.org>
To: Alaios <alaios@yahoo.com>; Rhelp <r-help@r-project.org>
Sent: Tue, October 26, 2010 6:47:32 PM
Subject: RE: [R] Zoom in in a plot

For a quick exploration of the plot you can use the zoomplot function in the TeachingDemos package.  But for production graphs it is better to explicitly set the xlim and ylim parameters in creating the plot up front.

--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow@imail.org<mailto:greg.snow@imail.org>
801.408.8111


> -----Original Message-----
> From: r-help-bounces@r-project.org<mailto:r-help-bounces@r-project.org> [mailto:r-help-bounces@r-
> project.org<http://project.org>] On Behalf Of Alaios
> Sent: Tuesday, October 26, 2010 9:31 AM
> To: Rhelp
> Subject: [R] Zoom in in a plot
>
> in a simple plot. When i do plot is it possible to zoom in or out or
> this is not
> possible at all?
>
> Best Regards
> Alex
>
>
>
>
>     [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org<mailto: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.


	[[alternative HTML version deleted]]

