Learn R Programming

unfoldr (version 0.7.1)

spheroids3d: Spheroid system 3D

Description

Draw a spheroid system in 3D

Usage

spheroids3d(
  S,
  box,
  draw.axes = FALSE,
  draw.box = TRUE,
  draw.bg = TRUE,
  bg.col = "white",
  clipping = FALSE,
  ...
)

Arguments

S

list of spheroids, see simPoissonSystem

box

simulation box

draw.axes

logical, whether to show the axes

draw.box

logical, whether to show the bounding box

draw.bg

logical, whether to show a gray background box correpsonding to the simulation box

bg.col

background color used showw the box background

clipping

logical, whether to clip all lateral planes of the simulation box

...

further material properties passed to 3D plotting functions

Details

The function requires the package 'rgl' to draw spheroids. For an example please see the file 'simSpheroids.R'.