Description Usage Arguments Value
Draw 3D Bubble Plot A function to draw 3D Bubble plot with flexible bubble size and color.
1 2 3 | draw3dBubblePlot(cameraCoordinates, cameraPosition, bubblePositions, bubbleSize,
axisLength = 1, axisColors = c("#ffffff", "#ffffff", "#ffffff"),
bubbleLabel = NA, axisLabel = NA)
|
cameraCoordinates |
A 3*3 matrix contains directions of camera coordinates. Rows of the matrix represent x, y, z axis direction. Don't have to be unit vectors |
cameraPosition |
A length 3 numeric vector contains the position of the camera |
bubblePositions |
A n*3 matrix contains position of bubbles |
bubbleSize |
A numeric vector. The size of bubbles |
axisLength |
A number represents the length of axis to be drawn |
axisColors |
A length 3 character vector contains colors of axes |
bubbleLabel |
A character vector contains labels for the bubbles |
axisLabel |
A character vector contains labels for the axes |
0 if no error
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.