Hello everybody, bonjour tout le monde,
I wonder if there's a way to export sympy plots to svg, as savefig with
matplotlib ?
Actually my aim is to convert this svg file to tkz from inkscape...
thank you,
merci d'avance,
alex
--
You received this message because you are subscribed to the
The plot object has a `save` method. Calling it with a filename ending
on `.svg` should be enough if you use the matplotlib backend. The
capabilities of the plotting module depend a lot on the backend that
you are using.
a=plot(...)
a.save(*.svg)
On 19 June 2013 09:32, a.ja...@gmail.com
Thank you, it works.
I only tried savefig...
Sorry for the noise.
Le mercredi 19 juin 2013 11:18:07 UTC+2, Stefan Krastanov a écrit :
The plot object has a `save` method. Calling it with a filename ending
on `.svg` should be enough if you use the matplotlib backend. The
capabilities of the
Hello,
I'm new to sympy so please excuse me if this question is obvious to
the experienced.
In multibody kinematics there is a classic relationship between a
rotating body's angular velocity and the rotation matrices
representing the configuration at a given point in time. Basically, if
I am
Unfortunately, this is a limitation in SymPy right now, which is that
our trigonometric simplification is not very good.
For now, you can use a work-around suggested in another thread:
def mytrigsimp(expr):
expr = expr.rewrite(exp)
expr = expr.expand()
expr = expr.rewrite(cos)