On Mar 27, 2010, at 1:13 , Ariel Rokem wrote:
In particular, I am interested in using the plt.cm.RdYlBu_r
colormap. If the data has both negative and positive values, I want
0 to map to the central value of this colormap (a pale whitish
yellow) and I want negative values to be in blue and
Hi,
thanks for the suggestion. They do have multiple versions but I checked
that everything is using 2.5
regards,
Ken Dere
Rune V. Sjøen wrote:
Hi,
Does the box have multiple python versions installed, and are you sure
that apache is using the
same version and/or site packages as when
Hi Brian,
Thanks for the code - this is definitely in the direction of what I want to
make!
The RdYlBu_r colormap is one of the built-in colormaps available in
matplotlib.pyplot.cm (you can see all of them here:
http://www.scipy.org/Cookbook/Matplotlib/Show_colormaps). I think that using
the
2010/3/27 Ariel Rokem aro...@berkeley.edu:
I am trying to make a color-map which will respond to the range of values in
the data itself. That is - I want to take one of the mpl colormaps and use
parts of it, depending on the range of the data.
In particular, I am interested in using the
Hello list
I've trying for a while a python only solution to remove white spaces that
Basemap generate to keep the aspect ratio. I found these two threads that
explain the issue better:
http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg14430.html
Hi Friedrich,
Thanks a lot for your response. I think that you are right - using the
vmin/vmax args into imshow (as well as into pcolor) does seem to do what I
want. Great!
The only thing that remains now is to simultaneously stretch the colormap in
the image itself to this range, while also