Usage
"plot"(x, type=c("contour", "image"), nlevels=30, scale=c("raw", "log", "sqrt"), color=c("rainbow", "heat.colors", "terrain.colors", "topo.colors", "cm.colors", "gray"), xlab=colnames(x@dx), ylab=colnames(x@dy), ...)
Arguments
x
The flowDens
object returned from density
. type
Either "contour"
or "image"
to specify the type of plot desired.
nlevels
An integer to specify the number of contour levels or colors shown in the plot.
scale
If "log"
, the logarithm of the density values will be used to generate the plot; similar interpretation holds for "sqrt"
. The use of a log
or sqrt
elicits more information about low density regions.
color
A string containing the name of the function used to generate the desired list of colors.
xlab, ylab
Labels for the $x$- and $y$-axes respectively.
...
Other arguments to be passed to contour
or image
, for example, drawlabels
and add
. Once an image plot is generated, users may impose a contour plot on it by calling this function with an additional argument add=TRUE
.