From: SourceForge.net <noreply@so...>  20080229 16:47:03

Bugs item #1904814, was opened at 20080229 08:47 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1904814&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Lisp Core  Plotting Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: strings in plot2doption `legend' Initial Comment: In my opinion the following example lines f(x):=1/(1+x^2); g(x):=exp(x^2); plot2d([f(x),g(x)],[x,4,4], [legend,"$\\frac{1}{1+x^2}$","$e^{x^2}$"]); plot2d([f(x),g(x)],[x,4,4], [legend,"$\\frac{1}{1+x^2}$","$e^{x^2}$"], [gnuplot_term,"eepic"], [gnuplot_out_file,"bug.tex"]); don't give the expected results: In the displayed graph, and in the eepicoutput, the backslash \ and the beginning dollar $ is missing. For instance, the output in bug.tex contains the line \put(2548,1636){\makebox(0,0)[r]{FRAC{1}{1+X^2}$}} Another problem is that frac and x get capitalized. I have been trying out maxima only for a few hours now, however my understanding of `legend' and the handling of strings let me expect a different result, the above output should be \put(2548,1636){\makebox(0,0)[r]{$\frac{1}{1+x^2}$}} It does not seem to be a gnuplot problem, because gnuplot handles the analogous construct correctly. Maxima version: 5.14.0 Maxima build date: 11:54 2/29/2008 host type: i686pclinuxgnu lispimplementationtype: CLISP lispimplementationversion: 2.39 (20060716) (built 3373656864) (memory 3413271278) Best wishes, Peter Mueller (peter.mueller@...)  You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1904814&group_id=4933 
From: SourceForge.net <noreply@so...>  20080312 05:06:42

Bugs item #1904814, was opened at 20080229 08:47 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1904814&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Lisp Core  Plotting Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: strings in plot2doption `legend' Initial Comment: In my opinion the following example lines f(x):=1/(1+x^2); g(x):=exp(x^2); plot2d([f(x),g(x)],[x,4,4], [legend,"$\\frac{1}{1+x^2}$","$e^{x^2}$"]); plot2d([f(x),g(x)],[x,4,4], [legend,"$\\frac{1}{1+x^2}$","$e^{x^2}$"], [gnuplot_term,"eepic"], [gnuplot_out_file,"bug.tex"]); don't give the expected results: In the displayed graph, and in the eepicoutput, the backslash \ and the beginning dollar $ is missing. For instance, the output in bug.tex contains the line \put(2548,1636){\makebox(0,0)[r]{FRAC{1}{1+X^2}$}} Another problem is that frac and x get capitalized. I have been trying out maxima only for a few hours now, however my understanding of `legend' and the handling of strings let me expect a different result, the above output should be \put(2548,1636){\makebox(0,0)[r]{$\frac{1}{1+x^2}$}} It does not seem to be a gnuplot problem, because gnuplot handles the analogous construct correctly. Maxima version: 5.14.0 Maxima build date: 11:54 2/29/2008 host type: i686pclinuxgnu lispimplementationtype: CLISP lispimplementationversion: 2.39 (20060716) (built 3373656864) (memory 3413271278) Best wishes, Peter Mueller (peter.mueller@...)  Comment By: Nobody/Anonymous (nobody) Date: 20080311 22:06 Message: Logged In: NO Problem is due to src/plot.lisp assuming that Maxima strings are implemented as symbols. I have a patch to fix that which I'll commit in a few days. Robert Dodier (not logged in at the moment)  You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1904814&group_id=4933 
From: SourceForge.net <noreply@so...>  20080330 00:29:32

Bugs item #1904814, was opened at 20080229 09:47 Message generated for change (Comment added) made by robert_dodier You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1904814&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Lisp Core  Plotting Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: strings in plot2doption `legend' Initial Comment: In my opinion the following example lines f(x):=1/(1+x^2); g(x):=exp(x^2); plot2d([f(x),g(x)],[x,4,4], [legend,"$\\frac{1}{1+x^2}$","$e^{x^2}$"]); plot2d([f(x),g(x)],[x,4,4], [legend,"$\\frac{1}{1+x^2}$","$e^{x^2}$"], [gnuplot_term,"eepic"], [gnuplot_out_file,"bug.tex"]); don't give the expected results: In the displayed graph, and in the eepicoutput, the backslash \ and the beginning dollar $ is missing. For instance, the output in bug.tex contains the line \put(2548,1636){\makebox(0,0)[r]{FRAC{1}{1+X^2}$}} Another problem is that frac and x get capitalized. I have been trying out maxima only for a few hours now, however my understanding of `legend' and the handling of strings let me expect a different result, the above output should be \put(2548,1636){\makebox(0,0)[r]{$\frac{1}{1+x^2}$}} It does not seem to be a gnuplot problem, because gnuplot handles the analogous construct correctly. Maxima version: 5.14.0 Maxima build date: 11:54 2/29/2008 host type: i686pclinuxgnu lispimplementationtype: CLISP lispimplementationversion: 2.39 (20060716) (built 3373656864) (memory 3413271278) Best wishes, Peter Mueller (peter.mueller@...)  >Comment By: Robert Dodier (robert_dodier) Date: 20080329 18:29 Message: Logged In: YES user_id=501686 Originator: NO Resolved by r1.113 src/plot.lisp. Closing this report as fixed. Corrected version will be in next (5.15.0) release. Note that you have to write "$\\\\frac..." to get just \frac in the output. Looks like the string is being processed twice; I would have expected "$\\frac..." should be enough. Not sure if that's a problem.  Comment By: Nobody/Anonymous (nobody) Date: 20080311 23:06 Message: Logged In: NO Problem is due to src/plot.lisp assuming that Maxima strings are implemented as symbols. I have a patch to fix that which I'll commit in a few days. Robert Dodier (not logged in at the moment)  You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1904814&group_id=4933 