Learn R Programming

ggrgl (version 0.1.0)

geom_text_z: An extension of geom_text into the third dimension.

Description

An extension of geom_text into the third dimension.

Usage

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

Other zoffset geoms: geom_bar_z(), geom_contour_filled_z(), geom_density_z(), geom_point_z(), geom_polygon_z(), geom_rect_z(), geom_ribbon_z(), geom_tile_z()