Skip to content
Back to formatted view

Raw Message

Message-ID: <4F191FB8.6010203@uni-muenster.de>
Date: 2012-01-20T08:03:04Z
From: Edzer Pebesma
Subject: plot variogram cloud with free scales
In-Reply-To: <4EB2B1A4.8080005@tum.de>

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