[R] Plotting envelopes in spatstat

Peter Ehlers ehlers at ucalgary.ca
Fri Nov 26 21:43:03 CET 2010


On 2010-11-26 11:16, Neba Funwi-Gabga wrote:
> Hello,
> Somehow I cannot control my envelope plots on Spatstat package. I would like
> to plot an envelope with no legend and also I would like to label the plot
> as such:
>
>> plot(envelope(data, nsim=39, main="My K Plot", legend=FALSE,
> xlab="Distance")
>
This can't be right - your parentheses don't match.
And if you have your graphical parameters *inside* the
envelope function, you certainly won't get what you want.
I just tried the example on the help page for plot.envelope
with main/xlab/legend settings and had no problem.

Peter Ehlers

> But somehow the "main", "legend" and "xlab" calls do not have any effect on
> the plot. Can someone help me out?
>
> Thanks
>



More information about the R-help mailing list