stat_segment_3d()
provides 3D-aware processing for segment data, primarily
handling discrete scale conversion while preserving segment structure.
Usage
stat_segment_3d(
mapping = NULL,
data = NULL,
geom = GeomSegment3D,
position = "identity",
na.rm = FALSE,
show.legend = NA,
inherit.aes = TRUE,
...
)
Arguments
- mapping
Set of aesthetic mappings created by
aes()
.- data
The data to be displayed in this layer.
- geom
The geometric object to use display the data. Defaults to GeomSegment3D.
- position
Position adjustment, defaults to "identity".
- na.rm
If
FALSE
, missing values are removed with a warning.- show.legend
Logical indicating whether this layer should be included in legends.
- inherit.aes
If
FALSE
, overrides the default aesthetics.- ...
Other arguments passed on to
layer()
.