|
From: TP <par...@fr...> - 2012-11-26 22:18:49
|
On Monday, November 26, 2012 12:06:40 Eric Firing wrote: > I'm glad you found a solution, but my sense is that the problem is that > you are trying to make the colormap do the work of the norm. The > colormap is just a set of discrete colors, with a linear mapping to the > 0-1 scale (apart from the special under, over, and invalid values). The > norm is for mapping your data to those colors, however you like, by > mapping your data to the 0-1 range (again with possible under, over, and > invalid values). Did you consider making a custom norm instead of > modifying the colormap? Yes, I did. The problem with the default colormap is that it has not enough colors. I have found (I may be wrong) that no norm can change this state of affair. If you are able to find a norm to make my example work, i.e. to obtain the middle point in blue when large_value is for example 1e10, I am interested. TP |