On Fri, Aug 12, 2011 at 12:47 PM, Yoshi Rokuko <yo...@rokuko.net> wrote:

> you mean something like that?
>
> m.contourf(x, y, var, np.linspace(-100,100,33))
>
> best regards
>
>
In addition to that (which would provide control over the contouring), one
can create a Normalization object, and supply that to the contourf calls to
make sure that the coloring is done consistently.  Then, I recommend making
the colorbar object directly with a cmap and the same normalization objects
that you used for the contourf()'s. This example should be helpful:

http://matplotlib.sourceforge.net/examples/api/colorbar_only.html

Cheers!
Ben Root
------------------------------------------------------------------------------
FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
Subversion made easy with a complete admin console. Easy 
to use, easy to manage, easy to install, easy to extend. 
Get a Free download of the new open ALM Subversion platform now.
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to