Learn R Programming

geoR (version 1.9-5)

plot.variog4: Plot Directional Variograms

Description

This function plot directional variograms computed by the function variog4. The omnidirectional variogram can be also included in the plot.

Usage

# S3 method for variog4
plot(x, omnidirectional=FALSE, same.plot=TRUE, legend = TRUE, ...)

Arguments

Value

A plot is produced on the output device. No values returned.

References

Further information about the geoR package can be found at:
http://www.leg.ufpr.br/geoR/.

See Also

variog4 for variogram calculations and matplot for multiple lines plotting.

Examples

Run this code
s100.v4 <- variog4(s100, max.dist=1)
# Plotting variograms for the four directions
plot(s100.v4)
# changing plot options
plot(s100.v4, lwd=2)
plot(s100.v4, lty=1, col=c("darkorange", "darkblue", "darkgreen","darkviolet"))
plot(s100.v4, lty=1, lwd=2)
# including the omnidirectional variogram
plot(s100.v4, omni=TRUE)
# variograms on different plots
plot(s100.v4, omni=TRUE, same=FALSE)

Run the code above in your browser using DataLab