#2417 plotdf does not work in xmaxima with ccl


When using CCL, Xmaxima does not parse correctly the output received from Maxima after a plotdf command is issued.
for instance plotdf([y,x]);
Apparently, the TCL command produced by plotdf() is stuck together with the (%o) string.


  • Jaime E. Villate

    The problem arises because the %o string is not removed from the output returned by maxima to Maxima, before being parsed for the plotdf command. Most lisp flavors will add a new line before that %o string, but ccl doesn't, giving rise to the error. With plot2d and plot3d that error is avoided because a space is added to the end of the plot data.
    For the time being, I have solved the bug by adding blank space to the end of plotdf's data too. A cleaner solution (left for future releases) would be to remove the %o string from the plot data.

  • Jaime E. Villate

    • assigned_to: nobody --> villate
  • Robert Dodier

    Robert Dodier - 2013-11-24
    • labels: Xmaxima or other UI --> Xmaxima or other UI, plotdf
    • status: open --> closed
    • Group: --> None
  • Robert Dodier

    Robert Dodier - 2013-11-24

    Works for me with current post-5.31 Maxima + Clozure CL 1.9 (on Ubuntu 12.04). I guess it was fixed by commit 794c64a7. Closing this report.


Log in to post a comment.