Skip to contents

Try to make a pretty perspective plot of an 3D ellipsoid.

Usage

# S3 method for ellipsoid
persp(
  x,
  add = FALSE,
  theta = 25,
  phi = 30,
  expand = 0.9,
  triptych = FALSE,
  pmat,
  ...
)

Arguments

x

ellipsoid-object

add

Add to a scene?

theta

Camera rotation, see persp.default

phi

Camera rotation, see persp.default

expand

zoom

triptych

plot from all three main axes?

pmat

optional projection matrix (e.g. from 2d persp)