Jae-Joon Lee wrote:
On Thu, Jun 3, 2010 at 4:00 PM, Jim Vickroy <jim.vick...@noaa.gov> wrote:
How do I do this? Attempts to specify vimin and vmax appear to be ignored.
Hmm,
vmin and vmax should work.
cax = ax.imshow(data, interpolation='bilinear', vmin=-1, vmax=1)
If these are still ignored, what the following line prints?
print cax.get_clim()
Regards,
-JJ
You are absolutely correct! My apologies for not testing this prior to
posting.
I'm really specifying vmin and vmax as parameters for pcolormesh and the
labels, for the associated color bar, vary (despite being explicitly
specified in figure.colorbar(...,ticks=...)) with the range of the data
being plotted.
I over-simplified, so I will try to produce a better version of the
actual code demonstrating the problem.
Thank-you for your quick reply.
-- jv
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users