[R] Zoom in in a plot
Joshua Wiley
jwiley.psych at gmail.com
Tue Oct 26 17:37:34 CEST 2010
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 = c(3, 5), y = c(4, 10))
Cheers,
Josh
On Tue, Oct 26, 2010 at 8:30 AM, Alaios <alaios at yahoo.com> wrote:
> 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.
>
--
Joshua Wiley
Ph.D. Student, Health Psychology
University of California, Los Angeles
http://www.joshuawiley.com/
More information about the R-help
mailing list