Re: [sympy] given a plane equation to extract the coefficients a,b,c,d

2019-06-25 Thread Lee Smith
Thanks for your prompt response. Really this is a very simple question. Consider a plain algebra equation on 'graph paper'. Sympy.plot(...) allows for a number of key/value pairs for stuff like xticks, etc. However, there is no keyword to on a grid for the resulting plot. On Tue, Jun 25, 2019

[sympy] Grid in sympy plotting

2019-06-25 Thread Lee Smith
Greetings: I want to display a grid in a sympy plot. The sympy.doc page only discusses mesh grids. On searching through Google, I found only one result that suggested using matplotlib.pyplot in addition to the sympy.plot(...) method. This should be simple and I am surprised that it is not

Re: [sympy] given a plane equation to extract the coefficients a,b,c,d

2019-06-25 Thread Oscar Benjamin
I'm not sure exactly what you mean. Does this help? In [1]: a, b, c, d, x, y, z = symbols('a, b, c, d, x, y, z') In [2]: eq = a*x + b*y+ c*z - d In [3]: eq Out[3]: a⋅x + b⋅y + c⋅z - d In [4]: eq.coeff(x) Out[4]: a In [5]: eq.coeff(y) Out[5]: b In [6]: eq.coeff(z) Out[6]: c On Tue, 25 Jun

Re: [sympy] Parse Latex doesn't understand '\sqrt[a]{b}'

2019-06-25 Thread Aaron Meurer
The latex parsing is still pretty new. It should not be hard to add support for this. Please open an issue on the issue tracker. Aaron Meurer On Tue, Jun 25, 2019 at 11:13 AM HRISHABH YADAV wrote: > > Hello everyone, > I wanted to convert a latex expression in sympy expression using

[sympy] Parse Latex doesn't understand '\sqrt[a]{b}'

2019-06-25 Thread HRISHABH YADAV
Hello everyone, I wanted to convert a latex expression in sympy expression using parse_latex. But apparently parse_latex doesn't understand r"[[-\\frac{67\\sqrt[8]{a}}{30\\sqrt[8]{z}}]]". Error:- sympy.parsing.latex.errors.LaTeXParsingError: I don't understand this

[sympy] given a plane equation to extract the coefficients a,b,c,d

2019-06-25 Thread HGO HGO
hi is it possible given a plane equation to extract the coefficients a,b,c,d ? thank you -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to