Subject: mailing-list for TeXmacs Users
List archive
From : "Bill Eaton" <address@hidden>- To: "'Henri Girard'" <address@hidden>, <address@hidden>
- Cc: <address@hidden>
- Subject: [TeXmacs] inline plots in Maxima
- Date: Tue, 21 May 2013 09:12:45 -0700
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
- RE: [TeXmacs] TeXmacs Sympy plugin LaTeX Output Issue Solved, (continued)
- RE: [TeXmacs] TeXmacs Sympy plugin LaTeX Output Issue Solved, Bill Eaton, 05/20/2013
- Re: [TeXmacs] Sympy plugin, David E. Miller, 05/15/2013
- Re: [TeXmacs] Sympy plugin, David E. Miller, 05/16/2013
- [TeXmacs] inline plots, Bill Eaton, 05/17/2013
- Re: [TeXmacs] inline plots, David E. Miller, 05/17/2013
- RE: [TeXmacs] inline plots, Bill Eaton, 05/17/2013
- Message not available
- RE: [TeXmacs] inline plots, Miguel de Benito Delgado, 05/18/2013
- RE: [TeXmacs] inline plots, Bill Eaton, 05/21/2013
- RE: [TeXmacs] inline plots, Miguel de Benito Delgado, 05/18/2013
- Message not available
- RE: [TeXmacs] inline plots, Bill Eaton, 05/17/2013
- Re: [TeXmacs] inline plots, David E. Miller, 05/17/2013
- [TeXmacs] inline plots, Bill Eaton, 05/17/2013
- Message not available
- Message not available
- Message not available
- RE: [TeXmacs] inline plots, Bill Eaton, 05/20/2013
- Re: [TeXmacs] inline plots, Henri Girard, 05/21/2013
- [TeXmacs] inline plots in Maxima, Bill Eaton, 05/21/2013
- Re: [TeXmacs] inline plots, Henri Girard, 05/21/2013
- RE: [TeXmacs] inline plots, Bill Eaton, 05/20/2013
- Message not available
- Message not available
Archive powered by MHonArc 2.6.19.