wxmaxima 5.20



On Thu, 2009-12-10 at 08:14 +0100, Andrej Vodopivec wrote:
> Before 5.20 get_plot_option(gnuplot_preamble) returned an empty string
> and now it returns false. This change of behaviour breaks wxplot2d. If
> you wish to be friendly towards projects which depend on maxima you
> should not be making changes like this just before a release.

I'm sorry. I didn't mean to be unfriendly to any external projects. What
I did was to improve the quality of 3d plots. It is very tricky to get
that preamble right to manage to plot colored surface with correct
hiding of lines. That's why it is safer to start without a user preamble
and if the user decides to set up his own preamble, it will be used
instead of the one set up by plot2d, plot3d, contour_plot,
implicit_plot, etc.

If wxmaxima expects a gnuplot_preamble with an empty string, it should
then set it that way. If for some reason that is no possible, then
please apply the attached patch but do not revert the CVS version as
proposed by Robert (if you reverted plot.lisp to a previous CVS version,
you would have to revert 2 other files in src).

Regards,
Jaime

-------------- next part --------------
Index: plot.lisp
===================================================================
RCS file: /cvsroot/maxima/maxima/src/plot.lisp,v
retrieving revision 1.147
diff -r1.147 plot.lisp
82c82,83
<     ((mlist) $gnuplot_default_term_command
---
>     ((mlist) $gnuplot_preamble "")
>      ((mlist) $gnuplot_default_term_command