View source: R/from_ellipsoid_methods.R
plot.ellipsoid | R Documentation |
Internal ellipsoid plotter.
## S3 method for class 'ellipsoid' plot( x, add = TRUE, i = 0, levels = 1, res = 128, scale = 1, N = 2, xlab = "x", ylab = "y", ... )
x |
ellipsoid |
add |
logical |
i |
Normal 1,2 or 3. Plot intersection of 3d ellipsoid. |
levels |
If i>0, draw this many levels from origin to tip of the axis |
res |
2d resolution |
scale |
1. use to enlarge or shrink |
N |
2, iteration of refinement in 3D (resolution) |
xlab |
axis-label |
ylab |
axis-label |
... |
passed on to lines or rgl::shade3d |
#' For 3D ellipsoid, if i=1,2 or 3, plot 2D intersection of plane: i = 1 yz-plane; i = 2 xz-plane; i = 3 xy-plane.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.