[R-sig-Geo] plot variogram cloud with free scales

Edzer Pebesma edzer.pebesma at uni-muenster.de
Fri Jan 20 09:03:04 CET 2012



On 11/03/2011 04:22 PM, Tom Gottfried wrote:
> Dear listers,
> 
> trying to plot a variogram cloud of a multivariable variogram with
> 
> library(gstat)
> data(meuse)
> coordinates(meuse) <- ~x+y
> g <- gstat(NULL, "zinc", zinc~1, meuse)
> g <- gstat(g, "lead", lead~1, meuse)
> plot(variogram(g, cloud=TRUE), scales=list(y=list(relation="free")))
> 
> I get distinct y-axes for every panel but all with the same range
> instead of adjusted to the data. Is it possible to get the y-axes
> adjusted to the data in each panel? Like in this plot:
> 
> plot(variogram(g), scales=list(y=list(relation="free")))
> 
> Thanks!
> Tom

Good point. This has now been corrected in svn, and will be in the next
gstat release.
-- 
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of Münster
Weseler Straße 253, 48151 Münster, Germany. Phone: +49 251
8333081, Fax: +49 251 8339763  http://ifgi.uni-muenster.de
http://www.52north.org/geostatistics      e.pebesma at wwu.de



More information about the R-sig-Geo mailing list