Is this what you are looking for. This is in lattice graphics. library(lattice) x <- seq(0, 4*pi, length=101) y <- sin(x) G <- xyplot(y ~ x, type="l") G H <- update(G, xlim=c(4,6), ylim=c(-1, -.4)) H
On Tue, Jan 6, 2015 at 12:23 PM, Raphael Päbst <raphael.pae...@gmail.com> wrote: > Hello, > 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! > > Raphael > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.