## [Matplotlib-users] Ploting f(x;y)=0

 [Matplotlib-users] Ploting f(x;y)=0 From: - 2009-01-28 14:26:34 ``` Flashmail

Hello,

I'm looking a solution for ploting relation like f(x;y)=0.

Best regards.

Christophe.

```

 [Matplotlib-users] Ploting f(x;y)=0 From: - 2009-01-28 14:26:34 ``` Flashmail

Hello,

I'm looking a solution for ploting relation like f(x;y)=0.

Best regards.

Christophe.

```
 Re: [Matplotlib-users] Ploting f(x;y)=0 From: Rob Hetland - 2009-01-28 19:04:07 ```On Jan 28, 2009, at 8:26 AM, projetmbc@... wrote: > I'm looking a solution for ploting relation like f(x;y)=0. I usually just contour the function over the region. E.g., >>> import numpy as np >>> import matplotlib.pyplot as plt >>> x, y = mgrid[-10:10:50j, -10:10:50j] >>> f = x**3 * y - 3.0 >>> contour(x, y, f, (0,)) The fourth argument to contour is a list of contours to plot, here only zero. -Rob ---- Rob Hetland, Associate Professor Dept. of Oceanography, Texas A&M University http://pong.tamu.edu/~rob phone: 979-458-0096, fax: 979-845-6331 ```