[Maxima] problem gnuplot/openplot
robert.dodier at gmail.com
Sun Jul 2 22:13:23 CDT 2006
> when there's more than 5000points to plot the waiting
> time on my computer (sempron 3ghz, 512ram, xp sp2)
> is about 20 minutes [...]
OK, in looking at the plotting code, it looks like it spends a
lot of time constructing a label (by concatenating all of the data
into a string) which is never used. I have committed a revision
of plot.lisp which avoids the unneeded label construction. See:
Click the "download" link to get a copy and within Maxima
load("plot.lisp"); to bring it into Maxima.
I find that the new version is much faster for plot2d([discrete, ...])
when there are many data.
By the way it makes an interesting picture -- maybe you
can tell us more about your problem domain.
PS. Here is my version of your script:
Differences: call tree_reduce instead of looping over append;
set gnuplot_curve_styles to plot discrete points.
showtime : true;
resultats : tree_reduce (append, resul)$
plot2d ([discrete, aplotter], [gnuplot_curve_styles, ["with points"]]);
More information about the Maxima