plot3d cylinder



On 07/27/2012 07:22 PM, Jean-Fran?ois MAUREL wrote:
> I am using wxmaxima on windows vista.
> I would like to draw a cylinder. I only obtain a circle:
>
> r:1$
> x:r*cos(theta)$
> y:r*sin(theta)$
> p:plot3d([x,y,z],[theta,-%pi,%pi],[z,0,10])$
>
> Could someone tell me what I am missing here?
>
> build_info("5.27.0","2012-04-24 08:52:03","i686-pc-mingw32","GNU 
> Common Lisp (GCL)","GCL 2.6.8")
Hi,
in your last command, use some other symbol different from z; for instance:

  p:plot3d([x,y,h],[theta,-%pi,%pi],[h,0,10])$

I think you have found a bug in plot3d. Your original command should 
work fine.

Regards,
Jaime