Page 1 of 1

[SOLVED]model.plot maximum distance

PostPosted: Fri Feb 07, 2014 4:55 pm
by pilartugores
Hi there!
I'm using RGeoS 9.1.6. I'm trying to create variogram models with certain parameters.
For me it is difficult to understand how should I "speak" with RGeoS to obtain the models that I want (specially when I try to introduce some anisotropy in the models).
So, I am doing some trials with new ("model",...) and then plotting it with model.plot() to see what I've created.
However, I have noticed that the maximum distance in the "x-axis" (lag distance) that the function "model.plot" is actually plotting equals to 1, even if I set a spherical model with a correlation range of 1200.
Why is it like this? Is it a bug or am I doing something wrong?

Re: model.plot maximum distance

PostPosted: Fri Feb 07, 2014 5:08 pm
by pilartugores
Sorry, I've solved it myself!
e.g.
model.plot (mymodel, xlim=c(0,2000))

Re: model.plot maximum distance

PostPosted: Fri Feb 07, 2014 5:31 pm
by Nicolas Desassis
Thanks for your interest in RGeoS.

I just point out that

Code: Select all
plot(mymodel, xlim=c(0,2000))


would also work (it is an alias for model.plot).

Nicolas