Note that points in ggplot2
are circles, and this function still
plots circles, but with the option of raising or lowering the circle in the
z
direction.
geom_point_z( mapping = NULL, data = NULL, stat = "identity", position = "identity", ..., na.rm = FALSE, show.legend = NA, inherit.aes = TRUE, extrude = FALSE, material = list(), npolys = 10, keep2d = FALSE )
mapping, data, stat, position, ..., na.rm, show.legend, inherit.aes | see
documentation for |
---|---|
extrude | whether or not to extrude the polygon |
material | Arguments passed to |
npolys | Circles in ggrgl are approximated by polygons. |
keep2d | keep the original 2d representation? default: FALSE |
For points with a fully 3-dimensional appearance see geom_sphere_3d
.
The z
suffix indicates that this geom produces planar graphical elements,
parallel to the ground i.e. the drawn element is the same as that for
ggplot2
except it has a vertical offset (constant across each graphical element).
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 zoffset geoms:
geom_bar_z()
,
geom_contour_filled_z()
,
geom_density_z()
,
geom_polygon_z()
,
geom_rect_z()
,
geom_ribbon_z()
,
geom_text_z()
,
geom_tile_z()
Other geoms supporting extrusion:
geom_bar_z()
,
geom_contour_filled_z()
,
geom_density_z()
,
geom_path_3d()
,
geom_polygon_z()
,
geom_rect_z()
,
geom_ribbon_z()
,
geom_segment_3d()
,
geom_tile_z()