plot-methods {orloca}R Documentation

plot of loca.p class objects

Description

This method provides a graphical representations of an object of class loca.p.

Usage

## S3 method for class 'loca.p':
plot(x, xlab="", ylab="", main="Plot of loca.p object", ...)

Arguments

x The loca.p object to plot.
xlab The label for x axis.
ylab The label for y axis.
main The main title for the plot.
... Other graphical options.

Details

The function plots the demand points with automatic limits evaluation.

Value

The function plots the required graphics.

See Also

See also orloca-package, loca.p and plot.zsum.

Examples

# An unweighted new loca.p object
loca <- loca.p(x = c(-1, 1, 1, -1), y = c(-1, -1, 1, 1))

# The plot of loca object
plot(loca)

[Package orloca version 2.0 Index]