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

Tom Gottfried tom.gottfried at tum.de
Fri Jan 20 10:17:51 CET 2012


Thank you, Edzer!
regards,
Tom

Am 20.01.2012 09:03, schrieb Edzer Pebesma:
>
>
> 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.

-- 
Technische Universität München
Department für Pflanzenwissenschaften
Lehrstuhl für Grünlandlehre
Alte Akademie 12
85350 Freising / Germany
Phone: ++49 (0)8161 715324
Fax:   ++49 (0)8161 713243
email: tom.gottfried at wzw.tum.de
http://www.wzw.tum.de/gruenland



More information about the R-sig-Geo mailing list