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

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

[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