On 06/05/2015 12:22 PM, Jody Klymak
wrote:
Hi, Yes, that is indeed a problem. However, if I want to plot a field which is mostly zeros, then I prefer to use a colormap which is white at zero. I could just extend the smaller absolute value (-0.5) to the same absolute value as the larger one, and plot -1.5 to 1.5. But in that case, I'd only be using a third of the possible dynamical range of the negative (blue) part, which IMO is a waste. If I have a field which has a zero median (which I want mapped to white), goes from -0.5 to +1.5, and I actually want to show the difference between (say) -0.3 and -0.4, what other option do I have? This problem is reasonably common for me, BTW. I can have a carbon monoxide field with an average/background of 60 ppb, but variations from 30 to 550 ppb. So I need a color scale which (a) is white at 60, and (b) shows small variations below 60 and large variations above 60 with equal "clarity". Cheers, Sourish
--
Q: What if you strapped C4 to a boomerang? Could this be an effective weapon, or would it be as stupid as it sounds? A: Aerodynamics aside, I’m curious what tactical advantage you’re expecting to gain by having the high explosive fly back at you if it misses the target. |
------------------------------------------------------------------------------
_______________________________________________ Matplotlib-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-users