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...@hilboll.de>


On Fri, Oct 12, 2012 at 10:17 AM, Andreas Hilboll
<li...@hilboll.de<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
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to