Re: [Matplotlib-users] colors

2014-06-20 Thread Bruno Pace
Ok! I'm getting there! I've been trying to figure out, though, how to set black - for example - for the zero values BUT interpolate also the colors linearly from black to blue in the linear region (from zero to the linear threshold). Is there a way to change the colormap like that? Thanks a lot!

Re: [Matplotlib-users] colors

2014-06-19 Thread Eric Firing
On 2014/06/18, 5:23 AM, Bruno Pace wrote: Ok, so using the norm=SymLogNorm I cannot distinguish the values that are exactly 0.0 from the really small ones, right? Would it be possible Correct, the scale is linear for small values. to make use of the set_bad method without having to use masked

[Matplotlib-users] colors

2014-06-17 Thread Bruno Pace
Hi all, I'm trying to use imshow to plot some values which fall on the interval [0,1]. I need to use a logscale to emphasize the scales of the data. The solution I found checking some discussions was like this plt.imshow(X, interpolation='none', norm=matplotlib.colors.LogNorm()) However, I

Re: [Matplotlib-users] colors: rgb tuple vs. tuple of rgb values

2008-10-01 Thread Eric Firing
Thomas Guettler wrote: Hi, this snippet works if there are more (or less) elements in the menMeans tuple. If there are three, it does not work since the bar command thinks the three element tuple is a tuple of rgb values. But it is a (r, g, b) tuple. I think it is a bug. Should I create