Download The gstat Package
Transcript
plot.pointPairs 33 g = gstat(NULL, "zinc < 200", I(zinc<200)~1, meuse) g = gstat(g, "zinc < 400", I(zinc<400)~1, meuse) g = gstat(g, "zinc < 800", I(zinc<800)~1, meuse) # calculate multivariable, directional variogram: v = variogram(g, alpha=c(0,45,90,135)) plot(v, group.id = FALSE, auto.key = TRUE) # id and id pairs panels plot(v, group.id = TRUE, auto.key = TRUE) # direction panels # variogram maps: plot(variogram(g, cutoff=1000, width=100, map=TRUE), main = "(cross) semivariance maps") plot(variogram(g, cutoff=1000, width=100, map=TRUE), np=TRUE, main = "number of point pairs") plot.pointPairs Plot a point pairs, identified from a variogram cloud Description Plot a point pairs, identified from a variogram cloud Usage ## S3 method for class 'pointPairs': plot(x, data, xcol = data$x, ycol = data$y, xlab = "x coordinate", ylab = "y coordinate", col.line = 2, line.pch = 0, main = "selected point pairs", . Arguments x object of class "pointPairs", obtained from the function plot.variogramCloud, containing point pair indices data data frame to which the indices refer (from which the variogram cloud was calculated) xcol numeric vector with x-coordinates of data ycol numeric vector with y-coordinates of data xlab x-axis label ylab y-axis label col.line color for lines connecting points line.pch if non-zero, symbols are also plotted at the middle of line segments, to mark lines too short to be visible on the plot; the color used is col.line; the value passed to this argument will be used as plotting symbol (pch) main title of plot ... arguments, further passed to xyplot