[SciPy-user] Getting coordinates of a level (contour) curve

Mico Filós elmico.filos@gmail....
Mon Aug 11 18:14:45 CDT 2008


Hi,

I have a fixed bivariate gaussian density function, and I want to
compute the coordinates (x(l), y(l)) of a given level curve, where l
is the parameter of the curve. I can easily plot the level x curve
with matplotlib, using function 'contour', but I have no idea about
how to get its coordinates (something like an (N,2) array specifying
the  coordinates of N points along the curve). With fsolve I can find
one of such points, but its is not enough :)

Thanks in advance for your help,

Best

Mico


More information about the SciPy-user mailing list