[SOLVED]model.plot maximum distance

Here you can report the problems encountered with the graphical functions (db.plot, vario.plot, ...)

[SOLVED]model.plot maximum distance

Postby pilartugores » Fri Feb 07, 2014 4:55 pm

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?
pilartugores
 
Posts: 3
Joined: Fri Feb 07, 2014 4:38 pm

Re: model.plot maximum distance

Postby pilartugores » Fri Feb 07, 2014 5:08 pm

Sorry, I've solved it myself!
e.g.
model.plot (mymodel, xlim=c(0,2000))
pilartugores
 
Posts: 3
Joined: Fri Feb 07, 2014 4:38 pm

Re: model.plot maximum distance

Postby Nicolas Desassis » Fri Feb 07, 2014 5:31 pm

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
Nicolas Desassis
 
Posts: 198
Joined: Thu Sep 20, 2012 4:22 pm


Return to Graphical representation

Who is online

Users browsing this forum: No registered users and 2 guests

cron