plot_box {aspace}R Documentation

Plot the Standard Distance Box

Description

This function plots the standard deviation of x- and y-coordinates as a box, with the edges set, respectively, to the standard deviation of the x- and y-coordinates.

Usage

plot_box(plotnew=TRUE, plothv=FALSE, plotweightedpts=FALSE, weightedpts.col='black', weightedpts.pch=19, plotpoints=TRUE, points.col='black', points.pch=1, plotcentre=TRUE, centre.col='black', centre.pch=19, plotcentral=FALSE, central.col='green', central.pch=19, plotmedian=FALSE, median.col='blue', median.pch=17, plotCMD=FALSE, CMD.col='red', CMD.pch=17, titletxt="Title", xaxis="Easting (m)", yaxis="Northing (m)", box.col='black', box.lwd=2, jpeg=FALSE, ...)

Arguments

plotnew Boolean: Set to TRUE to create a new plot. Set to FALSE to overlay current plot.
plothv Boolean: Set to TRUE if the orthogonal N-S, E-W axes are to be plotted through the centre
plotweightedpts Boolean: Set to TRUE if the weighted point observations are to be plotted
weightedpts.col Specify a colour for the weighted point observations
weightedpts.pch Specify a plotting symbol for the weighted point observations
plotpoints Boolean: Set to TRUE if the point observations are to be plotted
points.col Specify a colour for the point observations
points.pch Specify a plotting symbol for the point observations
plotcentre Boolean: Set to TRUE if the mean/weighted/user-defined centre is to be plotted
centre.col Specify a colour for the centre
centre.pch Specify a plotting symbol for the centre
plotcentral Boolean: Set to TRUE if the central feature is to be highlighted
central.col Specify a colour for the central feature
central.pch Specify a plotting symbol for the central feature
plotmedian Boolean: Set to TRUE if the median centre is to be plotted
median.col Specify a colour for the median centre
median.pch Specify a plotting symbol for the median centre
plotCMD Boolean: Set to TRUE if the centre of minimum distance is to be plotted
CMD.col Specify a colour for the centre of minimum distance
CMD.pch Specify a plotting symbol for the centre of minimum distance
titletxt A string to indicate the title for the plot
xaxis A string to label the x-axis of the plot
yaxis A string to label the y-axis of the plot
box.col Specify a line colour for the SD Box
box.lwd Specify a line width for the SD Box
jpeg Boolean: Set to TRUE if the plot should be saved in JPEG format
... Arguments to be passed to graphical parameters

Details

The r.BOX object (generated using the calc_box function) is required to plot an SD Box.

Author(s)

Randy Bui, Ron N. Buliung, Tarmo K. Remmel

See Also

plot_sdd, plot_mcp, plot_sde, makeshapes, ellipse3,

Examples

plot_box(plotnew=TRUE, plothv=FALSE, plotweightedpts=FALSE, plotpoints=TRUE, plotcentre=TRUE, plotcentral=TRUE, plotmedian=TRUE, plotCMD=TRUE, titletxt="Title", xaxis="Easting (m)", yaxis="Northing (m)")

[Package aspace version 2.2 Index]