This function is used to plot the faces of either a trigrid
, hexagrid
or facelayer
object in 3D space.
Usage
faces3d(x, ...)
# S4 method for trigrid
faces3d(x, ...)
# S4 method for hexagrid
faces3d(x, ...)
# S4 method for facelayer
faces3d(x, col = "heat", breaks = NULL, inclusive = TRUE, legend = TRUE, ...)
Arguments
- x
- ...
Further graphical parameters passed to (see
plot3d
) and theheatMapLegend
function.- col
(
character
) Graphical parameter indicating the colours of the faces. A single value is accepted forlogical
values. Multiple colors will be passed tocolorRampPalette
, to create palettes for heat maps in case ofnumeric
values. The default plotting method in this case is the reversedheat.colors
. In case of categorical data, random colors will be chosen.- breaks
(
numeric
) Vector stating the breakpoints between the plotted levels. The argument is passed to thecut
function.- inclusive
(
logical
): If there are values beyond the limits of breaks, should these be represented in the plot (TRUE
) or left out completelyFALSE
?- legend
(
logical
) Should the heatmap legend be plotted?