Re: [R] Zoom in in a plot

2010-10-27 Thread Michael Lawrence
gt; 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 > > Sent: Tue, October 26, 2010 6:47:32 PM > Subject:

Re: [R] Zoom in in a plot

2010-10-27 Thread Jonathan P Daily
Road Kearneysville WV, 25430 (304) 724-4480 "Is the room still a room when its empty? Does the room, the thing itself have purpose? Or do we, what's the word... imbue it." - Jubal Early, Firefly From: Alaios To: Greg Snow , Rhelp Date: 10/27/2010 02:21 AM Subject: Re: [R] Zoom

Re: [R] Zoom in in a plot

2010-10-26 Thread Alaios
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

Re: [R] Zoom in in a plot

2010-10-26 Thread Greg Snow
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 Healthc

Re: [R] Zoom in in a plot

2010-10-26 Thread Duncan Murdoch
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 accord

Re: [R] Zoom in in a plot

2010-10-26 Thread Joshua Wiley
On Tue, Oct 26, 2010 at 8:38 AM, Jonathan P Daily wrote: > I think that this would be possible if you save the graph to a scalable > format. This is true to an extent. I have not checked on postscript or xfig, but at least for PDF, even though you can "zoom"/blow the picture up, you still have f

Re: [R] Zoom in in a plot

2010-10-26 Thread David Winsemius
On Oct 26, 2010, at 8: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? Zoom? Do you mean restrict the region plotted to specific ranges? xlim and ylim arguments provide that facility. -- David. Best Regards Alex

Re: [R] Zoom in in a plot

2010-10-26 Thread Jonathan P Daily
I think that this would be possible if you save the graph to a scalable format. Try looking into: ?postscript ?xfig ?pdf -- Jonathan P. Daily Technician - USGS Leetown Science Center 11649 Leetown Road Kearneysville WV, 25430 (304) 724-4480 "Is the room still a

Re: [R] Zoom in in a plot

2010-10-26 Thread Joshua Wiley
Hi Alex, After you have created the plot I do not know of a way to zoom (in base graphics), but you can always use the xlim and ylim arguments to focus on a particular area (or effectively zoom) when you are create the plot. For instance, plot(x = 1:10, y = 1:10) plot(x = 1:10, y = 1:10, xlim