I am having problems animating the trajectory of an object in 3-D. I have no problems displaying the 3-D background and the trajectory of the objects, but I can't display the background and the animation of the object's trajectory in the same 3-D plot. The plot command that I am using is:

display(Pobj,Pline1,Pline2,...,orientation=[-45,45],view=-20..20,-15..15,0..5);

where

Pobj:= animate3d(odeplot(res1,[x(t),y(t),z(t)],0..5),-20..20,-15..15,0..5,color=black,frames=50);

Pline1:=pointplot3d([-12,-6,0],[12,-6,0],[12,6,0],[-12,6,0],[-12,-6,0],connect=true,color=black):

Plin2:= idem Pline1 with differents numbers for the points.

Can display handle these type of mix of plot objects? Does anybody came across a similar issue? Any suggestions will be much appreciated.

Thanks


Please Wait...