I'm soliciting for help in getting inline plots working in Maxima. Maybe there's already a feature that does this. I've had some success in getting inline plots working in Python and Octave, it would also be nice to have them working in Maxima. The process would go something like this: * create plot * save plot as eps file * call a new ps_out(fname) function to read the eps file and display it within TeXmacs document
The last bit could be a Maxima command that looks like this: print(ascii(2),"ps:",read_list("fname.eps"),ascii(5)); I have tried this command from a Maxima session and I get a display of raw PostScript. The Maxima plugin seems to revolve around a Lisp file. Regrettably, Lisp is a language I don't speak, so I don't know how to hack it to get a function working. Algorithms so far have been: Octave: Drop a new ps_out.m function file where other plugin function files are. Octave will see this file as one of the things to search when it tries to interpret your command. Python: Embed a ps_out() function inside the tm_python file. ps_out is added to the sessions namespace. Both techniques are remarkably similar. I don't know how to trick the Maxima plugin to do the same thing. Any thoughts? --Bill Eaton _______________________________________________ Texmacs-dev mailing list Texmacs-dev@gnu.org https://lists.gnu.org/mailman/listinfo/texmacs-dev