Subject: mailing-list for TeXmacs Users
List archive
From : Massimiliano Gubinelli <address@hidden>- To: Vincent Douce Mathoscope <address@hidden>
- Cc: address@hidden
- Subject: Re: shortcut for tables..
- Date: Wed, 9 Dec 2020 23:30:29 +0100
Dear Vincent,
On 9. Dec 2020, at 23:03, Vincent Douce Mathoscope <address@hidden> wrote:i take the occasion of speaking programmation of this thread to ask (maybe i should open a new thread ?) if anyone has made a video explaining step by step how you can execute a python/matplotlib program inside TeXmacs. i mean, can i open a python session and call the .py file i have written before ?
I'm not sure what you mean. You can open a Python shell, which will give you a prompt. There you can load a script in any way python allows you. I do not know the language well, sorry. Maybe look here:
in order to have graphics embedded in your document, you have to tell to matplot lib to produce a ps or pdf. The simplest case is by using
ps_out (mpl.cgf ())
where mpl is the matplotlib import and ps_out is a function defined in Python by TeXmacs which will pass back the PS code for the image. Look at the Help page for the Python plugin for more examples.
Best
Max
- shortcut for tables.., Vincent Douce Mathoscope, 12/09/2020
- Re: shortcut for tables.., Massimiliano Gubinelli, 12/09/2020
- Re: shortcut for tables.., TeXmacs, 12/09/2020
- Re: shortcut for tables.., Vincent Douce Mathoscope, 12/09/2020
- Re: shortcut for tables.., Massimiliano Gubinelli, 12/09/2020
- Re: shortcut for tables.., Giovanni Piredda, 12/10/2020
- Re: shortcut for tables.., Giovanni Piredda, 12/16/2020
- Re: shortcut for tables.., Giovanni Piredda, 12/10/2020
- Re: shortcut for tables.., Massimiliano Gubinelli, 12/09/2020
- Re: shortcut for tables.., Vincent Douce Mathoscope, 12/09/2020
- Re: shortcut for tables.., TeXmacs, 12/09/2020
- Re: shortcut for tables.., Massimiliano Gubinelli, 12/09/2020
Archive powered by MHonArc 2.6.19.