An implicitly given curve is given: x ^ 2/3 + y ^ 2/3 = 8. How to plot it using matplotlib?

  • one
    related question stackoverflow.com/q/2484527/4279 - jfs
  • one
    @Suvitruf to what a useful question to close? Look at its counterpart on a large SO: +18 rating, +5 in favorites, more than 16 thousand views, 6 answers, the last of which (similar to my answer) was published 2 years after the issue was published. Visitors from Google with a similar problem are interested in the solutions, and not the attempts of the author. Why prevent the publication of a better solution in the future? Work for the author - jfs
  • @jfs thanks, rediscovered. - Nick Volynkin

1 answer 1

You can sympy.plot_implicit() (draws with matplotlib by default):

 >>> from sympy import * >>> var('x y') (x, y) >>> plot_implicit(Eq(x**2/3+y**2/3, 8)) 

plot x ** 2/3 + y ** 2/3 = 8