[SciPy-User] Obtaining constant contours
Thu Nov 4 18:31:21 CDT 2010
I've got a C extension that does "marching squares" on 2D raster data
to get iso-contour lines out (to sub-pixel resolution via linear
interpolation). It's pretty fast, if this is something you're going to
be doing a lot.
I'll send it along if desired...
On Nov 4, 2010, at 7:13 PM, Christopher Barker wrote:
> On 11/4/10 4:06 PM, Nikolaus Rath wrote:
>> In other words, I want a
>> numerical version of what matplotlib's contour() function plots
>> when I
>> request a single level curve.
> If you poke into the MPL contour code a bit, you should be able to
> extract the data used to draw the contours -- i.e. what you want.
> Christopher Barker, Ph.D.
> Emergency Response Division
> NOAA/NOS/OR&R (206) 526-6959 voice
> 7600 Sand Point Way NE (206) 526-6329 fax
> Seattle, WA 98115 (206) 526-6317 main reception
> SciPy-User mailing list
More information about the SciPy-User