An extension of geom_text into the third dimension.

geom_text_z(
  mapping = NULL,
  data = NULL,
  stat = "identity",
  position = "identity",
  ...,
  parse = FALSE,
  nudge_x = 0,
  nudge_y = 0,
  check_overlap = FALSE,
  na.rm = FALSE,
  show.legend = NA,
  inherit.aes = TRUE,
  material = list(),
  keep2d = FALSE
)

Arguments

mapping, data, stat, position, ..., parse, nudge_x, nudge_y, check_overlap, na.rm, show.legend, inherit.aes

See documentation for ggplot::geom_text

material

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.

keep2d

keep the original 2d representation? default: FALSE

Z Offset Geom

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).

See also