[SciPy-User] Obtaining constant contours

josef.pktd at gmail.com josef.pktd at gmail.com
Thu Nov 4 19:32:09 EDT 2010


On Thu, Nov 4, 2010 at 7:13 PM, Christopher Barker
<Chris.Barker at noaa.gov> 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.

Maybe this http://stackoverflow.com/questions/1560424/how-can-i-get-the-x-y-values-of-the-line-that-is-ploted-by-a-contour-plot-matp

reduces your amount of digging.

Josef


>
> -Chris
>
>
>
> --
> Christopher Barker, Ph.D.
> Oceanographer
>
> 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
>
> Chris.Barker at noaa.gov
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>



More information about the SciPy-User mailing list