Re: [R] plot two variograms on a same graph

2009-06-10 Thread Paul Hiemstra
Hi, It is possible, but without you specifying in which pacakge you are going to fit the variograms it is hard for us to provide an example. And what do you mean by variogram, is that the sample variogram or the fitted variogram model, or both? Try and keep to the posting guide next time to m

Re: [R] plot two variograms on a same graph

2009-06-10 Thread ONKELINX, Thierry
Dear Damien, I tend do use ggplot2 for more advanced plotting. You only have to create a dataframe with all the data you need. Here are some examples. library(gstat) library(ggplot2) data(meuse) coordinates(meuse) = ~x+y g1 <- gstat(id = "Raw", formula = lo