[SciPy-User] Obtaining constant contours

Nikolaus Rath Nikolaus at rath.org
Thu Nov 4 19:06:50 EDT 2010


Hello,

I have a function f[x,y] and I would like to get a (discrete) trajectory
(x[n], y[n]) such that f[x[n], y[n]] = c. In other words, I want a
numerical version of what matplotlib's contour() function plots when I
request a single level curve.

Does anyone have a good suggestion how to do this?


Best,

   -Nikolaus

-- 
 »Time flies like an arrow, fruit flies like a Banana.«

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C



More information about the SciPy-User mailing list