3d.jpg (4341 Byte)

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]);

[Maple Plot]

Im Programm lassen sich die 3D-Plots mit der Maus aus allen Perspektiven heraus betrachten:

[Maple Plot] [Maple Plot]

Durch das Verwenden von Licht, kann man die Plots viel plastischer wirken lassen:

> [Maple Plot] [Maple Plot]
[Maple Plot]

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);

[Maple Plot]

> animate3d(cos(t*x)*sin(t*y),x=-Pi..Pi, y=-Pi..Pi,t=1..2,color=cos(x*y));

[Maple Plot]

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);

[Maple Plot]

[Maple Plot]

>

> 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]);

[Maple Plot]

[Maple Plot]

[Maple Plot]