LiveGraphicsParametricCurve3D.pl - provide an interactive 3D parametric curve.
This macro provides the ParametricCurve3D method for creating an interactive plot of a vector field via the LiveGraphics3D JavaScript applet. The method takes three MathObject Formulas in one variable 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)
The available options are as follows.
Fx => Formula('t * cos(t)')Parametric function for the x-coordinate.
Fy => Formula('t * sin(t)')Parametric function for the y-coordinate.
Fz => Formula('t')Parametric function for the z-coordinate.
tvar => 't'Parameter name, default 't'. This must correspond to the parameter used in Fx, Fy, and Fz.
tmin => -3Lower bound for the domain of the parameter.
tmax => 3Upper bound for the domain of the parameter.
tsamples => 3The number of sample values for the parameter in the interval from tmin to tmax to use.
axesframed => 1If set to 1 then the framed axes are displayed. If set to 0, the framed axes are not shown. This is 1 by default.
xaxislabel => 'x'Label for the axis corresponding to the first independent variable.
yaxislabel => 'y'Label for the axis corresponding to the second independent variable.
zaxislabel => 'z'Label for the axis corresponding to the dependent variable.
curvecolor => 'RGBColor[1.0, 0.0, 0.0]'The color of the curve.
curvethickness => 0.001The curve thickness.
outputtype => 1This determines what is contained in the string that the method returns. The values of 1 through 4 are accepted, and have the following meaning.
Return a string of only polygons (or edge mesh).
Return a string of only plot options.
Return a string of polygons (or edge mesh) and plot options.
Return the complete plot to be passed directly to the Live3DData method.