From: Benjamin R. <ben...@ou...> - 2015-02-18 16:31:49
|
The problem I have with hcl is that while it is technically "colorful" (or whatever the term may be), only the reds really come out because the other colors are only used when either really light or really dark. Perhaps squashing the brightness range a bit and let the natural lightness of yellow and the natural darkness of blue come through on their own. (does that even make any sense to anybody else? it makes sense in my head, but I am certainly am not an expert in color perception) Ben Root P.S. - Of course, my own color perception weirdness might be at play here and the colormap looks perfectly fine to everybody else... On Wed, Feb 18, 2015 at 11:17 AM, Maximilian Albert < max...@gm...> wrote: > 2015-02-17 1:23 GMT+01:00 Michael Waskom <mw...@st...>: > >> See [here](http://nbviewer.ipython.org/gist/mwaskom/6a43a3b94eca4a9e2e8b) >> for a quick and dirty implementation that should get a general idea. This >> probably ins't the best way to do it -- anyone should feel free to build on >> this. >> > > This is very neat! Great job. Incidentally, when I stumbled upon the > earthobservatory blog a while ago this particular colormap also caught my > eye as a potential candidate, so I'm glad you suggested it as a starting > point for a new matplotlib default. > > Out of curiosity, I applied Nathaniel's "viscm" function (from the > previous thread) to the colormap from your notebook (screenshot attached). > Interestingly, while it confirms that the lightness and hue angle increase > more or less linearly, the "colourfulness" goes up and down in waves, even > though you designed the chroma to increase linearly, too. I'm not sure > whether this is because "colourfulness" and "chroma" are actually two > different concepts, or whether it has to do with inaccuracies and/or > clamping during the conversion between various colour spaces. It could also > be the case that the colormath and pycam02ucs modules use different > conversion formulas (in which case it would be good to know which is "more > accurate"; not sure there is even an objective measure for "accuracy" in > this case). Also, there seems to be something strange going on at the dark > (blue) end of the colormap, but this could again be due to clamping. > > I'd love to play a bit more with your example notebook but not sure I'll > be able to do so before the weekend (or early next week). > > Cheers, > Max > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > > |