El lun, 15-01-2007 a las 16:22 +0100, Miguel Marco escribi?:
> Hi
>
> I needed an animation of implicit curves, so i made a small program in maxima
> to create 200 .ps images (using the implicit_plot package), then converted
> then to jpg and finally used mencoder to create a video file.
>
> But i wonder if there is alreadya command for that. And, if there is not, if
> it could be possible to write a package (maybe the dependency of external
> programas such as image converters and encoder would be an issue.
>
> ?any clue about this?
>
Hola,
I'm not sure if this is exactly what you want. For this animation to
work you need ImageMagick installed in your system. I have tested this
in Linux:
for i:1 thru 10 step 1 do
block([a],
a:i*0.1,
plot2d(a*x^2,
[x,-3,3],
[gnuplot_preamble,
sconcat("set xrange [-3:3]; set yrange [0:9];
set terminal png;set out 'file",i,".png'")])) $
system("animate -delay 20 file?.png file??.png")$
You can change the parametric function to be plotted, of course.
--
Mario Rodriguez Riotorto
www.biomates.net