Mit einem geringen Aufwandsplus gegenüber 2D-Plots lassen sich mit Maple ohne weiteres anspruchsvolle 3D-Grafiken und Animationen erstellen:
> with(plots):
plot3d(x*exp(-x^2-y^2),x=-2..2,y=-2..2,grid=[49,49]);
Im Programm lassen sich die 3D-Plots mit der Maus aus allen Perspektiven heraus betrachten:
Durch das Verwenden von Licht, kann man die Plots viel plastischer wirken lassen:
>
Animationen lassen sich auch ohne weiteres realisieren:
> with(plots):
animate3d(cos(t*x)*sin(t*y),x=-Pi..Pi, y=-Pi..Pi,t=1..2);
> animate3d(cos(t*x)*sin(t*y),x=-Pi..Pi, y=-Pi..Pi,t=1..2,color=cos(x*y));
Auch der aus dem 2D-Plots bekannte Feldplot lässt sich im Raum darstellen:
> with(plots):
fieldplot3d([2*x,2*y,1],x=-1..1,y=-1..1,z=-1..1,grid=[5,5,5]);
fieldplot3d([(x,y,z)->2*x,(x,y,z)->2*y,(x,y,z)->1],-1..1,-1..1,-1..1);
>
> with(plots):
gradlot3d((x^2+y^2+z^2+1)^(1/2),x=-2..2,y=-2..2,z=-2..2);
gradplot3d(sin(x*y*z),x=-Pi..Pi,y=-Pi..Pi,z=-Pi..Pi);
gradplot3d(x^2+2*y^2+z+1,x=-1..1,y=-1..1,z=-1..1,grid=[5,5,5]);