M-File Help: tranimate View code for tranimate

tranimate

Animate a coordinate frame

tranimate(p1, p2, options) animates a 3D coordinate frame moving from pose p1 to pose p2. Poses p1 and p2 can be represented by:

tranimate(p, options) animates a coordinate frame moving from the identity pose to the pose p represented by any of the types listed above.

tranimate(pseq, options) animates a trajectory, where pseq is any of

Options

'fps', fps Number of frames per second to display (default 10)
'nsteps', n The number of steps along the path (default 50)
'axis', A Axis bounds [xmin, xmax, ymin, ymax, zmin, zmax]
'movie', M Save frames as files in the folder M

Notes

ffmpeg -r 10 -i %04d.png out.avi

See also

trplot


 

© 1990-2012 Peter Corke.