|
From: Damon M. <dam...@gm...> - 2012-10-13 05:05:36
|
Forgot to reply all. ---------- Forwarded message ---------- From: *Damon McDougall* Date: Friday, October 12, 2012 Subject: [Matplotlib-users] color pallette suggestions wanted To: Andreas Hilboll <li...@hi...> On Fri, Oct 12, 2012 at 10:17 AM, Andreas Hilboll <li...@hi...<javascript:;>> wrote: > Hi, > > I have some data I want to plot using pcolormesh. It's 2d climatological > data, see the attached plot. My data is in a range from -7 to +0.6. I want > to be 0.0 to be clearly visible, while at the same time, the color range > should show the full dynamic of the values. I played with the bwr and > seismic color maps, centering on zero, so that white is 0.0. However, I'm > not too happy with the dynamic range I get in the negative. Your data is not symmetric about zero, so you will always get a result the looks 'too dynamic' in the negative values (that is, if you want to use the whole colour map range). You need to make a sacrifice somewhere to get the effect you want. 1) Move your data so it's symmetric around zero, that way you'll get a nice dynamic change, but the position of 'zero' will be less clear. 2) Don't move your data and use a truncated colour map. That way the position of 'zero' will be clear but you'll get less dynamic change in the negative values. Hope this helps. Best, Damon -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom |