Lab3D: 3D Axis Labels

Description Usage Arguments

View source: R/Lab3D.R

Description

This function adds 3D axis labels to ggplot2 plots.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
Lab3D(
  mapping = aes(group = 1),
  data = NULL,
  geom = "text",
  position = "identity",
  na.rm = FALSE,
  show.legend = NA,
  inherit.aes = TRUE,
  AP = NULL,
  ...
)

Arguments

...

Arguements passed on to layer.

theta

The azimuthal direction in degrees.

phi

The colatitude in degrees.

labs

The labels to add. A vector of three where the first element is x, the second is y, and the third is z.

common_length

the proportion that the arrow axis occupies on the entire axis These are often aesthetics, used to set an aesthetic to a fixed value, like color = "red" or size = 3.


Yutong441/TBdev documentation built on Dec. 18, 2021, 8:22 p.m.