Subject: mailing-list for TeXmacs Users
List archive
From : François Beaubert <address@hidden>- To: address@hidden
- Subject: Re: [TeXmacs] Inline Matplotlib figures
- Date: Fri, 16 Dec 2011 10:30:55 +0100
2011/12/16 chu-ching huang <address@hidden>
Thank you very much for for helpful answer !
You made my day :)
Do you know if it's possible to use it like a script (not in a python session) as Asymptote, Gnuplot, R ... without explicitly specifying the name of the ps_out file ?
Thanks again.
Cheers
Francois
python TeXmacs-plugin avails the function "ps_out()" to print out inline eps
picture; you can make inline picture as follows:
----------------------------------
import pylab
"""
making picture
"""
pylab.savefig('demo.eps')
ps_out('demo.eps')
-----------------------------------
Here, you can find more examples about using Python within TeXmacs in the
article, 20081115.pdf:
http://diffusion.cgu.edu.tw/ftp/TeXmacs/demo
Best wishes,
cch
Thank you very much for for helpful answer !
You made my day :)
Do you know if it's possible to use it like a script (not in a python session) as Asymptote, Gnuplot, R ... without explicitly specifying the name of the ps_out file ?
Thanks again.
Cheers
Francois
- [TeXmacs] Inline Matplotlib figures, François Beaubert, 12/15/2011
- Re: [TeXmacs] Inline Matplotlib figures, chu-ching huang, 12/16/2011
- Re: [TeXmacs] Inline Matplotlib figures, François Beaubert, 12/16/2011
- Re: [TeXmacs] Inline Matplotlib figures, chu-ching huang, 12/16/2011
Archive powered by MHonArc 2.6.19.