Discussion:
[Matplotlib-users] contourf map with values
Sappy85
2015-03-01 15:53:31 UTC
Permalink
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:

<Loading Image...>

(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.
Benjamin Root
2015-03-01 16:13:09 UTC
Permalink
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
Post by Sappy85
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,
<http://matplotlib.1069221.n5.nabble.com/file/n45025/Untitled.png>
(i use matplotlib with Basemap)
Regards,
Sappy85
--
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
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Loading...