[R] Manipulating Plots

Rolf Turner r.turner at auckland.ac.nz
Tue Jan 6 22:30:32 CET 2015



I don't think this has any relevance.  The deldir package doesn't use 
lattice graphics.  I think that Jean Adams has answered the OP's 
question adequately.

cheers,

Rolf

On 07/01/15 07:05, Richard M. Heiberger wrote:
> 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.paebst at 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.


-- 
Rolf Turner
Technical Editor ANZJS



More information about the R-help mailing list