NAME

LiveGraphicsParametricCurve3D.pl - provide an interactive 3D parametric curve.

DESCRIPTION

LiveGraphicsParametricCurve3D.pl provides a macros for creating an interactive plot of a vector field via the LiveGraphics3D Javascript applet. The routine ParametricCurve3D() takes three MathObject Formulas of 3 variables as input and returns a string of plot data that can be displayed using the Live3Ddata() routine of the LiveGraphics3D.pl macro.

USAGE

ParametricCurve3D(options);

Options are:

Fx => Formula("t*cos(t)"),  F = < Fx, Fy, Fz > where Fx, Fy, Fz are each
Fy => Formula("t*sin(t)"),  functions of tvar
Fz => Formula("t"),

tvar => "t",           independent variable name, default "t"
tmin => -3,            domain for tvar
tmax =>  3,
tsamples => 3,         deltat = (tmax - tmin) / tsamples

axesframed => 1,       1 displays framed axes, 0 hides framed axes

xaxislabel => "X",     Capital letters may be easier to read
yaxislabel => "Y",
zaxislabel => "Z",

orientation => 0,      do not show any orientation arrows
            => 1,      show only one arrow in the middle
            => 2,      make the curve entirely of arrows

curvecolor => "RGBColor[1.0,0.0,0.0]",
curvethickness => 0.001,

outputtype => 1,       return string of only polygons (or mesh)
              2,       return string of only plotoptions
              3,       return string of polygons (or mesh) and plotoptions
              4,       return complete plot