I'd love to be able to save a sympy LaTeX-ified result as an image file to
export into other documents. In my business I have to create Powerpoint
and am trying python-pptx for this. It allows incorporating images
programmatically.
I've searched the sympy documentation and other sources
Am 17.11.2014 um 09:13 schrieb jeanbigbo...@gmail.com:
I've searched the sympy documentation and other sources but surprisingly
have not found anything for equations.
You can always take a screenshot.
Well, a windowshot :-)
I believe that plots can be saved.
I'm sure I've missed something.
Hello.
Have you considered a text in a matplotlib graph ?
Le 17 nov. 2014 13:51, Alan Bromborsky abro...@verizon.net a écrit :
If you would send me an example of your code I might be able to suggest
a solution.
On 11/17/2014 03:13 AM, jeanbigbo...@gmail.com wrote:
I'd love to be able to
On Monday, November 17, 2014 8:13:56 AM UTC, jeanbi...@gmail.com wrote:
I'd love to be able to save a sympy LaTeX-ified result as an image file to
export into other documents. In my business I have to create Powerpoint
and am trying python-pptx for this. It allows incorporating images
Do this -
from sympy import *
from sympy.galgebra import xdvi,Format
Format()
your code with print statements
xdvi(paper='letter')
pdf file with name of python file .pdf will be generated
On 11/17/2014 09:23 AM, Dario Beraldi wrote:
On Monday, November 17, 2014 8:13:56 AM UTC,
There should be some functions in the ipython machinery in sympy that
creates pngs from the latex printer using matplotlib. See:
https://github.com/sympy/sympy/blob/master/sympy/interactive/printing.py#L34
Jason
moorepants.info
+01 530-601-9791
On Mon, Nov 17, 2014 at 9:23 AM, Dario Beraldi
I believe the preview() function does what you want.
http://docs.sympy.org/latest/modules/printing.html#sympy.printing.preview.preview
.
Aaron Meurer
On Mon, Nov 17, 2014 at 9:21 AM, Jason Moore moorepa...@gmail.com wrote:
There should be some functions in the ipython machinery in sympy that
On Mon, Nov 17, 2014 at 3:13 PM, jeanbigbo...@gmail.com wrote:
Thanks for all the replies:
Aaron Meurer:
I tried preview. It looks like a LaTeX installation is required and on
this particular system I'm on, I am not allowed to install it - same with
the other suggested package. Is there a