Flashmail

Hello,

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

Best regards.

Christophe.

Flashmail

Hello,

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

Best regards.

Christophe.

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

On Jan 28, 2009, at 8:26 AM, projetmbc@...748... wrote:

----

Rob Hetland, Associate Professor

Dept. of Oceanography, Texas A&M University

http://pong.tamu.edu/~rob

phone: 979-458-0096, fax: 979-845-6331