[Maxima] plot3d multiple functions bug?

Andrej Vodopivec andrej.vodopivec at gmail.com
Thu May 15 06:30:40 CDT 2008


2008/5/15 Krzysztof Leśniak <much at mat.uni.torun.pl>:
> I cannot obtain the 3d plotting of  2 functions (and  more functions too):
>
> plot3d([7*x-3*y, x^2-y^2], [x,-5,5], [y,-5,5])$
>
> List [7*x-3*y,x^2-y^2] is not of length 3 -- an error.  To debug this
> try debugmode(true);

plot3d can't plot multiple surfaces. You can use the draw package:

load(draw)$
draw3d(
 color=red,
 explicit(7*x-3*y, x, -5, 5, y, -5, 5),
 color=blue,
 explicit(x^2-y^2, x, -5, 5, y, -5, 5))$

-- 
Andrej



More information about the Maxima mailing list