Sheldon Newhouse escribi?:
> Hello,
> Is there an option to draw which keeps a plot open and adds points one
> by one? I want to generate real time orbits of solutions to
> differential equations (in R^3). At present, I generate the entire
> lists of points and then plot them. For long lists of points, this
> shows the final orbits, but I would like to see how they are generated,
> piece by piece.
>
Hello,
I have not made many experiments with this type of things, but something
similar to this code could be of inspiration for you:
(%i1) load(draw)$
(%i2) draw2d(explicit(sin(x),x,0,10))$
(%i3) gnuplot_replot("set multiplot")$
(%i4) gnuplot_replot("plot cos(x)")$
Time ago I put in my draw-todo list to write a sort of interface between
the draw syntax and the gnuplot_replot function (this is not the first
time this question appears in the mailing list). I'll see what I can do.
In the meantime, if you are looking for animations, there are some
examples in
http://www.telefonica.net/web2/biomates/maxima/gpdraw/animation
In particular, see the 'terminal = animated_gif' option. But I'm not
sure this is what you are looking for.
--
Mario Rodriguez Riotorto
http://www.telefonica.net/web2/biomates