Skip to content

plot variogram cloud with free scales

1 message · Tom Gottfried

#
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