Learn R Programming

sgeostat (version 1.0-27)

plot.point: Plot Point Objects

Description

Plot the spatial locations in a point object, optionally coloring by quantile.

Usage

"plot"(x, v, legend.pos=0,axes=TRUE,xlab='',ylab='', add=FALSE, ...)

Arguments

x
a point object generated by point()
v
an optional variable name, if entered will divide the points into quantiles and color using 4 colors
legend.pos
position of legend (0 - none, 1 - bottom-left, 2 -bottom-right, 3 - top-right, 4 - top-left), requires Lang(v)
axes
logical, whether to plot axes
xlab,ylab
axes labels, default none
add
usefull for overlaying images with a point plot
...
additional arguments for plot

Value

References

http://www.gis.iastate.edu/SGeoStat/homepage.html

See Also

point

Examples

Run this code

plot(maas.point) 
plot(maas.point,v='zinc') 
plot(maas.point,v='zinc',xlab='easting',ylab='northing',axes=TRUE,legend.pos=4)
# plot additionally the maas bank:
data(maas.bank)
lines(maas.bank)

Run the code above in your browser using DataLab