Matlab 's contour function returns the contour data as x- and y- coordinates in a contour matrix C:

[C,H] = CONTOUR(…)

pylab.contour(…) returns a ContourSet object that only seems to contain contour heights. How do I get the actual contour data? I need the (x,y) coordinates as given by matlab. In fact even the binary contour image that is displayed by contour() will be usefull.

albert