This is a demo to show you a possibily to animate graphics produced
by Vcam, MuPAD's graphic tool.

Animiation is based on the programs xrastool and/or xanim. xrastool is
free software, and you can redistribute it under the conditions of the
GNU General Public License. [Copyright (C) 1993 Derek C. Richardson]
xanim is distributed with X11R5 (contributed by Mark Podlipec).

In this MuPAD distribution xrastool is available only for Sun4/SunOS 4.1.x
and the shared libraries libX11.so.4.x, libolgx.so.3.x and libxview.so.3.x
has to be installed on your system.

You can get the sources of xrastool via anonymous ftp, for example
ftp.germany.eu.net:/pub/X11/contrib or ftp.univie.ac.at:/packages/x11/R5contrib/
You can get the sources of xrastool via anonymous ftp, for example
ftp.uni-paderborn.de:/unix/X11/ftp.x.org/R5contrib/

Use sharelib::animate2d, sharelib::animate3d to generate an animation.

If you want to do this by hand perform the following steps:
Produce a sequence of graphics using the plot3d or plot2d command
in MuPAD. Save each graphic as a Rasterfile, using the option PlotDevice
[See catenoid/prg/cat-heli.mu]. Choose a name like <name>.<n> , where <name> 
is a filename, <n> an on going number, for example 1,2,3,...
Note: You have to use xmupad, because you cannot save Rasterfile with mupad.

Call    xrastool <name>.?.rs <name>.??.rs    to initialize animation. 
Click button -><- and Cycle to start animation. See the manual page for details
(man xrastool or nroff -man $MuPAD_ROOT_PATH/share/xview/xrastool.n | more)


