[R] Zoom in in a plot

Joshua Wiley jwiley.psych at gmail.com
Tue Oct 26 17:44:27 CEST 2010


On Tue, Oct 26, 2010 at 8:38 AM, Jonathan P Daily <jdaily at usgs.gov> 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 fundamentally the same layout.  The problem with this
is that your dots (or lines or whatever) blow up right along with
everything else.  So if two points were partially overlapping on an X
scale of 0-100, no matter how big you blow it up in PDF, they will
still over lap (overplotting will not be alleviated in other words).

>
> 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 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 <alaios at yahoo.com>
> To:
> Rhelp <r-help at r-project.org>
> Date:
> 10/26/2010 11:32 AM
> Subject:
> [R] Zoom in in a plot
> Sent by:
> r-help-bounces at r-project.org
>
>
>
> 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 at 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]]
>
> ______________________________________________
> R-help at 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.
>



-- 
Joshua Wiley
Ph.D. Student, Health Psychology
University of California, Los Angeles
http://www.joshuawiley.com/



More information about the R-help mailing list