bug in draw ?



S. Newhouse escribi?:
> Consider the following:
>
> draw(gr3d(explicit(x^2 - 2*y^2,x,-2,2,y,-3,3)),gr3d(explicit(x + 
> y,x,-2,2,y,-3,3)));
>
> This produces two 3d plots, one above the other.
>
>   

Hello,

This is intended behaviour. The syntax above is for multiplots. More 
examples about that in

http://www.telefonica.net/web2/biomates/maxima/gpdraw/multiplots

If you want both surfaces in the same plot, introduce the two 'explicit' 
objects into only one 'gr3d' scene descriptor, as in

draw(gr3d(explicit(x^2 - 2*y^2,x,-2,2,y,-3,3), explicit(x + 
y,x,-2,2,y,-3,3)) );

or better yet ...

draw3d(explicit(x^2 - 2*y^2,x,-2,2,y,-3,3), explicit(x + y,x,-2,2,y,-3,3));

since draw3d is shorthand for draw(gr3d(blah, blah, blah, ...))


> Using the left or middle mouse key to magnify and/or rotate the two 
> fitures makes the upper plot disappear and works only with the lower 
> plot thereafter..
>   
This is a Gnuplot ussue. According to Gnuplot 4.2 manual (page 96), 
"Mousing is not available in multiplot mode."


Mario.



P.D.: Just for fun. If you add to your own example option 
'terminal=animated_gif', you'll get an animated gif file. See also '? 
delay'.

-- 
Mario Rodriguez Riotorto
http://www.telefonica.net/web2/biomates