plot.ellipsoid: Plot an Ellipsoid Object

View source: R/from_ellipsoid_methods.R

plot.ellipsoidR Documentation

Plot an Ellipsoid Object

Description

Internal ellipsoid plotter.

Usage

## S3 method for class 'ellipsoid'
plot(
  x,
  add = TRUE,
  i = 0,
  levels = 1,
  res = 128,
  scale = 1,
  N = 2,
  xlab = "x",
  ylab = "y",
  ...
)

Arguments

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

Details

#' 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.


antiphon/Kdirectional documentation built on Feb. 13, 2023, 6:26 a.m.