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 class 'trigrid'
faces3d(x, ...)
# S4 method for class 'hexagrid'
faces3d(x, ...)
# S4 method for class 'facelayer'
faces3d(x, col = "heat", breaks = NULL, inclusive = TRUE, legend = TRUE, ...)Arguments
- x
- ...
Further graphical parameters passed to (see
plot3d) and theheatMapLegendfunction.- col
(
character) Graphical parameter indicating the colours of the faces. A single value is accepted forlogicalvalues. Multiple colors will be passed tocolorRampPalette, to create palettes for heat maps in case ofnumericvalues. 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 thecutfunction.- 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?
