plot {orloca} | R Documentation |
This method provides a graphical representations of an object of class loca.p
.
## S3 method for class 'loca.p' plot(x, xlab = "", ylab = "", main = paste(gettext("Plot of loca.p", domain = "R-orloca"), ifelse(x@label == "", "", paste0(": \"", x@label, "\""))), img = NULL, xlim = c(min(xleft, min(x@x)), max(xright, max(x@x))), ylim = c(min(ybottom, min(x@y)), max(ytop, max(x@y))), xleft = min(x@x), ybottom = min(x@y), xright = max(x@x), ytop = max(x@y), ...)
x |
The |
xlab |
The label for x axis. |
ylab |
The label for y axis. |
main |
The main title for the plot. |
img |
A raster image to plot on background. |
xlim |
Limit over the x axes of the plot. |
ylim |
Limit over the y axes of the plot. |
xleft |
The left position of the image. |
ybottom |
The bottom position of the image. |
xright |
The right position of the image. |
ytop |
The top position of the image. |
... |
Other graphical options. |
The function plots the demand points with automatic limits evaluation.
The function plots the required graphics.
See also orloca-package
, loca.p
and plot
.
# A new unweighted 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)