[R] Manipulating Plots
Richard M. Heiberger
rmh at temple.edu
Tue Jan 6 19:05:11 CET 2015
Is this what you are looking for. This is in lattice graphics.
x <- seq(0, 4*pi, length=101)
y <- sin(x)
G <- xyplot(y ~ x, type="l")
H <- update(G, xlim=c(4,6), ylim=c(-1, -.4))
On Tue, Jan 6, 2015 at 12:23 PM, Raphael Päbst <raphael.paebst at gmail.com> wrote:
> I have a somewhat complicated question and hope, someone can help me
> or that there is a solution at all for my problem.
> I am using R to plot the results of a Voronoi-Tesselation. I am
> however only interested in a small part of the plot, around the
> center. Is there a way to cut out the central part of the plot and
> enlarge it in R? I have quite a few of these plots and cutting and
> enlarging the image manually with another software is only the last
> option, if there is no other way to do it.
> I hope this explains my problem clearly enough and there is a solution for it.
> Many thanks in advance!
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help