Here's a simple example:
plot3d(x+y,[x,-3,3],[y,-4,4],[legend,"Line"]);
I get "y+x ___________" instead of "Line" for a title/legend?
I cannot get the title to use legend? If I have an expression name instead of a function, I get the generic title of "Function _________". At least [legend, false] works, but I'd like to put titles in my graphs.
Thanks.
Lester
P.S. I'm using Maxima under Cygwin on a Thinkpad with XP Pro. This seems to be a gnuplot option. I could not get legend to work with other gnuplot options which do work fine. E.g.:
plot__smni_Lag:if abs(smni_Lag) > 1.0 then 0 else smni_Lag$
plot3d(plot__smni_Lag,[ze,-80,80],[zi,-30,30],[gnuplot_term, ps],[gnuplot_out_file,"c:/cygwin/home/ingber/smni_Lag.ps"],[xlabel, "M_E"],[ylabel,"M_I"],[zlabel,"L"],[legend,"smni_Lag"],['grid,40,15])$
Lester
Appears that legend works OK for plot2d but not for plot3d. I'm assigning this report to the person who was last working on the plot options.
The problem is that legend was implemented only for plot2d and not for plot3d. I'll try to make it work in plot3d before the next release or if I can't I will then make a note in the documentation to alert to that fact. Thank you for your report.
The reported bug is not present in the current cvs version of
Maxima.
Thank you for your report. If you see this bug in a later version
of Maxima, please submit a new bug report.
option "legend" now works in plot3d.