Plot parametric 3D curves



This is not most efficient, but

plot3d([cos(t), sin(t), t], [t,0,6*%pi], [u,-5,5], [gnuplot_pm3d,false])$

produces a curve.

Andrej

On 3/20/06, van Nek <van.Nek at gmx.net> wrote:
>
> Am 20 Mar 2006 um 10:41 hat johan.ekh at se.abb.com geschrieben:
>
>
>
> >
> >
> > Hello everybody,
> > I'm new to this list and I have a simple question regarding plotting.
> >
> > How can I plot parametric 3D curves in Maxima (using gnuplot)?
> >
> > For instance, I'm interested in plotting a Helix using the arclength "s"
> as the parameter.
> >
> > Best regards,
> > Johan
> >
>
>
>
>
>
>
> Hello Johan,
>
>
> for 3d parametric functions you have to use gnuplot instead of Maxima (or am
> I wrong?).
>
>
> Try this, perhaps you like it.
>
>
> First some preambles. Nice, but not necessary:
> gnuplot> set size ratio -1
> gnuplot> set ticslevel 0
> gnuplot> set grid
> gnuplot> set xtics 0.5
> gnuplot> set ytics 0.5
>
>
> Now we plot:
> gnuplot> set parametric
>
>
>         dummy variable is t for curves, u/v for surfaces
> gnuplot> splot [t=0:6*pi] cos(t),sin(t),t
>
>
> Hope that helps.
>
>
> Volker van Nek
>