contourf map with values

Hallo,

i have an important question. Is it possible with matplotlib function
"contourf()" to plot the values of the contour-data? Here is an example,
what i mean:

<http://matplotlib.1069221.n5.nabble.com/file/n45025/Untitled.png>

(i use matplotlib with Basemap)

Regards,
Sappy85

···

--
View this message in context: http://matplotlib.1069221.n5.nabble.com/contourf-map-with-values-tp45025.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

Not with contourf(), no. But, you can always add many Text objects after plotting the contourf() (just loop over the dimensions of your array at some stride and add Text objects at the appropriate coordinates). In fact, there might even be a feature coming up soon that would make this sort of task easier: https://github.com/matplotlib/matplotlib/pull/4063

Cheers!

Ben Root

···

On Sun, Mar 1, 2015 at 10:53 AM, Sappy85 <robert.wittkopf@…380…> wrote:

Hallo,

i have an important question. Is it possible with matplotlib function

“contourf()” to plot the values of the contour-data? Here is an example,

what i mean:

<http://matplotlib.1069221.n5.nabble.com/file/n45025/Untitled.png>

(i use matplotlib with Basemap)

Regards,

Sappy85

View this message in context: http://matplotlib.1069221.n5.nabble.com/contourf-map-with-values-tp45025.html

Sent from the matplotlib - users mailing list archive at Nabble.com.


Dive into the World of Parallel Programming The Go Parallel Website, sponsored

by Intel and developed in partnership with Slashdot Media, is your hub for all

things parallel software development, from weekly thought leadership blogs to

news, videos, case studies, tutorials and more. Take a look and join the

conversation now. http://goparallel.sourceforge.net/


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users