geom_path
and geom_line
into the third dimension.An extension of geom_path
and geom_line
into the third dimension.
geom_path_3d(
mapping = NULL,
data = NULL,
stat = "identity",
position = "identity",
...,
lineend = "butt",
linejoin = "round",
linemitre = 10,
arrow = NULL,
na.rm = FALSE,
show.legend = NA,
inherit.aes = TRUE,
extrude = FALSE,
material = list(),
keep2d = FALSE
)geom_line_3d(
mapping = NULL,
data = NULL,
stat = "identity",
position = "identity",
na.rm = FALSE,
orientation = NA,
show.legend = NA,
inherit.aes = TRUE,
extrude = FALSE,
material = list(),
keep2d = FALSE,
...
)
See documentation for ggplot2::geom_path
whether or not to extrude the polygon
Arguments passed to rgl::material3d()
to specify the
material properties for this geom. Any
parameters specified in this argument override the defaults. See rgl
documentation for more info. Also see ggrgl::standard_material
for
the standard default material parameters used for all objects.
keep the original 2d representation? default: FALSE
The 3d
suffix indicates that this geom allows for the full 3d
positioning of each node and/or edge which makes it up. Thus the resulting
geometrical element rendered on the plot can appear in any orientiation, and
is not limited to planar representation.
This geometry supports extrusion. Set extrude = TRUE
and adjust
aesthetics:
extrude_face_fill
The colour of the extruded faces. Default: 'grey20'
extrude_face_alpha
Alpha for the extruded faces. Default: 1
extrude_edge_colour
Colour of the edges of the extrusion. Default: NA (invisible)
extrude_edge_alpha
Alpha for the extruded edges. Default: 1
extrude_edge_size
Width of the line to draw the extruded edge. Default: 1
extrude_z
The lower limit of the extrudsion. Default: 0.05
Other 3d geoms:
geom_segment_3d()
,
geom_sphere_3d()
Other geoms supporting extrusion:
geom_bar_z()
,
geom_contour_filled_z()
,
geom_density_z()
,
geom_point_z()
,
geom_polygon_z()
,
geom_rect_z()
,
geom_ribbon_z()
,
geom_segment_3d()
,
geom_tile_z()