This function adds 3D axis labels to ggplot2 plots.
1 2 3 |
... |
Arguements passed on to layer. These are often aesthetics, used to set an aesthetic to a fixed value, like color = "red" or size = 3. |
theta |
The azimuthal direction in degrees. |
phi |
The colatitude in degrees. |
label |
The labels to add. A vector of three where the first element is x, the second is y, and the third is z. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.