On 01/25/2011 06:58 PM, Shrividya Ravi wrote: [...] > On the same topic of the colorbar, how can I readjust the colors such > that it only goes between user-specified values? For example, I have one > imshow plot where the values range between 0 and 350. However, I only > want to look at the values between 300 and 350.
z = np.arange(25) z.shape = 5,5 imshow(z, vmin=10, vmax=20, interpolation='nearest') colorbar(extend='both') Does that give the desired result? Eric > > Any help would be greatly appreciated! > > Thanks a lot! > Shrividya ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users