This function adds 3D axis labels to ggplot2 plots.
1 2 3 4 5 6 7 8 9 10 11 |
... |
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.