[ai-geostats] gstat in R a couple of simple variogram plot questions
I was plotting some variograms with gstat in R
s <- whar=="CUT.67"
jgs<-gstat(id = "CUT.67", formula = gv~1, locations = ~xv+yv+zv, data=jdf)
jgvf <- fit.variogram(jgv, model = vgm(1, "Exp", 900, 1))
plot(jgv, model = jgvf,col="black",pch=15,main="MyVariogram") # view result
abline(var(gv),0) # line is relative to bottom of plot ??? not 0,0
abline(var(gv),0) # line is where it belongs
1.) How do I get variance line where it belongs?
2.) Can I change the background color of plot from gray?
I looked briefly at docs and on net. Before I look at source, has anyone face or solved these problems?
Robert (Bob) L. Sandefur PE
Senior Geostatistician / Reserve Analyst
200 Union Suite G-13
303 472-3240 (cell) <-best choice
303 716-1617 ext 14