![](https://secure.gravatar.com/avatar/790fd6e3ccfeaf2865c9294d2df0fa3e.jpg?s=120&d=mm&r=g)
12 Aug
2008
12 Aug
'08
2:36 p.m.
Yes, you are right. But what if I have a mixture of gaussians, or any other 2D probability density function?
Indeed. Isn't the question about how to extract the data points for the curve from the 'contour' object in matplotlib, in the general case? Unfortunately I don't have the answer to that, but maybe introspection of the object would lead to an answer. From the API doc I see a mysterious attribute called 'level'.