3d plot of a curve



plot3d([0.5, sqrt(1 - 0.5^2) + cos(2*t), sqrt(1 - 0.5^2) +
sin(2*t)],[t,0,2*%pi], [s,-2,2]);

Basically, you use

plot3d([x1[s,t],x2[s,t],x3[s,t]],[s,a,b],[t,c,d]);

where the xi[ ] are functions of s and t (or whatever you want to call
them) and one of s or t is not in the functions xi[ ]

-sen

On Sat, 20 Jan 2007, Dan Solomon wrote:

> The manual tells how to get a plot of a surface in 3 space (torus,
> klein bottle, moebius band), but how do I get a plot of a curve?
> Preferably parametrized by t:
>
> x[1]:.5; x[2]:sqrt(1-x[1]^2) * cos(2*t); x[3]:sqrt(1-x[1]^2) * sin(2*t);
> plot3d([parametric, x[1],x[2],x[3], [t,0,2*%pi]]);
> gives:
>
> Bad Range
> FALSE must be of the form [variable,min,max]
> -- an error.  Quitting.  To debug this try DEBUGMODE(TRUE);)
>
> thanks
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>

-- 
  ---------------------------------------------------------------------------
  | Sheldon E. Newhouse            |    e-mail: sen1 at math.msu.edu           |
  | Mathematics Department         |       				   |
  | Michigan State University      | telephone: 517-355-9684                |
  | E. Lansing, MI 48824-1027 USA  |       FAX: 517-432-1562                |
  ---------------------------------------------------------------------------