Re: [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-04 Thread Nathan Goldbaum
On Wed, Jun 3, 2015 at 5:17 PM, Stéfan van der Walt 
wrote:

> On Wed, Jun 3, 2015 at 5:08 PM, Nathan Goldbaum 
> wrote:
> > I'm a big fan of option D.  So much so that when I needed to make a
> movie of
> > ony my galaxy simulations today I went ahead and used it:
> >
> > https://youtu.be/bnm554et0T8
>
> Beautiful!  How hard would it be to also do this for the other
> proposed colormaps?
>

Thankfully you made it pretty easy to script this.

jet: https://www.youtube.com/watch?v=dsvT5hImPmo

parula: https://www.youtube.com/watch?v=8146CMi-OaQ

option a: https://www.youtube.com/watch?v=IqvxuQSzWO4

option b: https://www.youtube.com/watch?v=wa7bpV3XPV0

option c: https://www.youtube.com/watch?v=3rHbq4jw1ew

option d: https://www.youtube.com/watch?v=2_HiUXVNm2k


>
> Stéfan
>
>
> --
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
--
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-04 Thread Juan Nunez-Iglesias
Fun activity: watch all 6 videos in a row then watch the text on this email
spin and spin. =P

Gorgeous! Thanks Nathan!

I hope this kills C dead. It clearly makes certain features of the
simulation harder to spot.

A great demo of the terribleness of jet, too: it looks like a huge mess.

On Thu, Jun 4, 2015 at 5:42 PM, Nathan Goldbaum 
wrote:

>
>
> On Wed, Jun 3, 2015 at 5:17 PM, Stéfan van der Walt 
> wrote:
>
>> On Wed, Jun 3, 2015 at 5:08 PM, Nathan Goldbaum 
>> wrote:
>> > I'm a big fan of option D.  So much so that when I needed to make a
>> movie of
>> > ony my galaxy simulations today I went ahead and used it:
>> >
>> > https://youtu.be/bnm554et0T8
>>
>> Beautiful!  How hard would it be to also do this for the other
>> proposed colormaps?
>>
>
> Thankfully you made it pretty easy to script this.
>
> jet: https://www.youtube.com/watch?v=dsvT5hImPmo
>
> parula: https://www.youtube.com/watch?v=8146CMi-OaQ
>
> option a: https://www.youtube.com/watch?v=IqvxuQSzWO4
>
> option b: https://www.youtube.com/watch?v=wa7bpV3XPV0
>
> option c: https://www.youtube.com/watch?v=3rHbq4jw1ew
>
> option d: https://www.youtube.com/watch?v=2_HiUXVNm2k
>
>
>>
>> Stéfan
>>
>>
>> --
>> ___
>> Matplotlib-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>>
>
>
>
> --
>
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
>
--
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-04 Thread Joe Kington
One other (admittedly very minor) consideration is how the colormaps look
with shading applied.  To borrow from the hillshading example

:

(The image appears to be too large to attatch. Try here: http://
www.geology.beer
/images/
hillshaded.png
)


I personally really like option D for a lot of reasons, but this is another
reason to prefer it. Providing additional information through "shading"
etc, still works quite well. Option C also does well in this particular
test, though it appears too "washed out" for my tastes.

At least to my eyes, options B fairs particularly poorly.  In B's case, the
fact that the colormap runs towards black means that hillshading is
difficult to distinguish from elevation changes.  A suffers from similar
problems in this case, though they're much less severe.

In my personal opinion: D >> A > C > B

Cheers,
-Joe
Fun activity: watch all 6 videos in a row then watch the text on this email
spin and spin. =P

Gorgeous! Thanks Nathan!

I hope this kills C dead. It clearly makes certain features of the
simulation harder to spot.

A great demo of the terribleness of jet, too: it looks like a huge mess.

On Thu, Jun 4, 2015 at 5:42 PM, Nathan Goldbaum 
wrote:

>
>
> On Wed, Jun 3, 2015 at 5:17 PM, Stéfan van der Walt 
> wrote:
>
>> On Wed, Jun 3, 2015 at 5:08 PM, Nathan Goldbaum 
>> wrote:
>> > I'm a big fan of option D.  So much so that when I needed to make a
>> movie of
>> > ony my galaxy simulations today I went ahead and used it:
>> >
>> > https://youtu.be/bnm554et0T8
>>
>> Beautiful!  How hard would it be to also do this for the other
>> proposed colormaps?
>>
>
> Thankfully you made it pretty easy to script this.
>
> jet: https://www.youtube.com/watch?v=dsvT5hImPmo
>
> parula: https://www.youtube.com/watch?v=8146CMi-OaQ
>
> option a: https://www.youtube.com/watch?v=IqvxuQSzWO4
>
> option b: https://www.youtube.com/watch?v=wa7bpV3XPV0
>
> option c: https://www.youtube.com/watch?v=3rHbq4jw1ew
>
> option d: https://www.youtube.com/watch?v=2_HiUXVNm2k
>
>
>>
>> Stéfan
>>
>>
>> --
>> ___
>> Matplotlib-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>>
>
>
>
> --
>
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
>

--

___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
--
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-04 Thread Wolfram Jr., Phillip
Same here.  I prefer D over the rest because of both its aesthetic and 
technical merits.

Phil

--
Phillip J. Wolfram, Ph.D.
Postdoctoral Research Associate
Climate, Ocean and Sea Ice Modeling
T-3 Fluid Dynamics and Structural Mechanics
Los Alamos National Laboratory
Phone:  (505) 667-3518
Email:   [email protected]

On Jun 4, 2015, at 10:37 AM,  
 wrote:

> Message: 1
> Date: Thu, 4 Jun 2015 09:37:12 -0700
> From: Brian Granger 
> Subject: Re: [matplotlib-devel] RFC: candidates for a new default
>   colormap
> To: Joe Kington 
> Cc: matplotlib-devel 
> Message-ID:
>   
> Content-Type: text/plain; charset="utf-8"
> 
> I very much like D.
> 
> On Thu, Jun 4, 2015 at 9:34 AM, Joe Kington  wrote:
> 
>> Well that got horribly garbled somehow (and I hit send too early).  Let me
>> try that again:
>> 
>> 
>> ?
>> 
>> 
>> On Thu, Jun 4, 2015 at 11:27 AM, Joe Kington 
>> wrote:
>> 
>>> One other (admittedly very minor) consideration is how the colormaps look
>>> with shading applied.  To borrow from the hillshading example
>>> 
>>> :
>>> 
>>> (The image appears to be too large to attatch. Try here: http://
>>> www.geology.beer
>>> /images/
>>> hillshaded.png
>>> )
>>> 
>>> 
>>> I personally really like option D for a lot of reasons, but this is
>>> another reason to prefer it. Providing additional information through
>>> "shading" etc, still works quite well. Option C also does well in this
>>> particular test, though it appears too "washed out" for my tastes.
>>> 
>>> At least to my eyes, options B fairs particularly poorly.  In B's case,
>>> the fact that the colormap runs towards black means that hillshading is
>>> difficult to distinguish from elevation changes.  A suffers from similar
>>> problems in this case, though they're much less severe.
>>> 
>>> In my personal opinion: D >> A > C > B
>>> 
>>> Cheers,
>>> -Joe
>>> Fun activity: watch all 6 videos in a row then watch the text on this
>>> email spin and spin. =P
>>> 
>>> Gorgeous! Thanks Nathan!
>>> 
>>> I hope this kills C dead. It clearly makes certain features of the
>>> simulation harder to spot.
>>> 
>>> A great demo of the terribleness of jet, too: it looks like a huge mess.
>>> 
>>> On Thu, Jun 4, 2015 at 5:42 PM, Nathan Goldbaum 
>>> wrote:
>>> 
 
 
 On Wed, Jun 3, 2015 at 5:17 PM, St?fan van der Walt 
 wrote:
 
> On Wed, Jun 3, 2015 at 5:08 PM, Nathan Goldbaum 
> wrote:
>> I'm a big fan of option D.  So much so that when I needed to make a
> movie of
>> ony my galaxy simulations today I went ahead and used it:
>> 
>> https://youtu.be/bnm554et0T8
> 
> Beautiful!  How hard would it be to also do this for the other
> proposed colormaps?
> 
 
 Thankfully you made it pretty easy to script this.
 
 jet: https://www.youtube.com/watch?v=dsvT5hImPmo
 
 parula: https://www.youtube.com/watch?v=8146CMi-OaQ
 
 option a: https://www.youtube.com/watch?v=IqvxuQSzWO4
 
 option b: https://www.youtube.com/watch?v=wa7bpV3XPV0
 
 option c: https://www.youtube.com/watch?v=3rHbq4jw1ew
 
 option d: https://www.youtube.com/watch?v=2_HiUXVNm2k
 
 
> 
> St?fan
> 
> 
> --
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> 
 
 
 
 --
 
 ___
 Matplotlib-devel mailing list
 [email protected]
 https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
 
 
>>> 
>>> 
>>> --
>>> 
>>> ___
>>> Matplotlib-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>>> 
>>> 
>> 
>> 
>> --
>> 
>> ___
>> Matplotlib-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>> 
>> 
> 
> 
> -- 
> Brian E. Granger
> Cal Poly State University, San Luis Obispo
> @ellisonbg on Twitter and GitHub
> [email protected] and [email protected]
> -- next part --
> An HTML att

Re: [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-04 Thread Nathaniel Smith
On Jun 4, 2015 9:28 AM, "Joe Kington"  wrote:
>
> One other (admittedly very minor) consideration is how the colormaps look
with shading applied.  To borrow from the hillshading example:
>
> (The image appears to be too large to attatch. Try here:
http://www.geology.beer/images/hillshaded.png)
>
> I personally really like option D for a lot of reasons, but this is
another reason to prefer it. Providing additional information through
"shading" etc, still works quite well. Option C also does well in this
particular test, though it appears too "washed out" for my tastes.

I'm not sure what I'm looking at in that picture exactly, or how to
distinguish a good result from a poor one -- could you elaborate?

FYI I should also note that we're planning on additionally providing
isoluminant (or approximately isoluminant) variants for whatever colormaps
we end up contributing, exactly for cases where you want to preserve the
lightness channel for shading effects. So in any case you'll have a choice
between "mapA" and "mapA-isoluminant", etc.

-n
--
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-04 Thread Alexander Heger
I think the very dark tones in Options A and B would make it harder to
add annotations on top, so C and D are better for that.  Between C and
D I find that C looks slightly more "energetic", D is too rather calm
though nice.  When used in talks, you can see the green laser pointer
better on top of C.

-Alexander

On 3 June 2015 at 11:46, Nathaniel Smith  wrote:
> Hi all,
>
> As was hinted at in a previous thread, Stéfan van der Walt and I have
> been using some Fancy Color Technology to attempt to design a new
> colormap intended to become matplotlib's new default. (Down with jet!)
>
> Unfortunately, while our Fancy Color Technology includes a
> computational model of perceptual distance, it does not include a
> computational model of aesthetics. So this is where you come in.
>
> We've put up three reasonable candidates at:
> https://bids.github.io/colormap/
> (along with some well-known colormaps for comparison), and we'd like
> your feedback.
>
> They are all optimal on all of the objective criteria we know how to
> measure. What we need judgements on is which one you like best, both
> aesthetically and as a way of visualizing data. (There are some sample
> plots to look at there, plus you can download them and play with them
> on your own data if you want.)
>
> We especially value input from anyone with anomalous color vision.
> There are some simulations there, but computational models are
> inherently limited here. (It's difficult to ask someone with
> colorblindness "does this look to you, the same way this other picture
> looks to me?")
>
> -n
>
> --
> Nathaniel J. Smith -- http://vorpus.org
>
> --
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

--
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-04 Thread Eric Firing
On 2015/06/04 9:52 AM, Alexander Heger wrote:
> When used in talks, you can see the green laser pointer
> better on top of C.

And perhaps a red laser pointer better on top of D?

--
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-04 Thread Benjamin Root
... unless you have red-green colorblindness. I abhor using laser pointers
during talks and instead use descriptive text such as "upper-left" or "in
the middle". Also helps when only the slides and the audio is being
recorded.

As for option D, my only apprehension for it is on the blue (purple?) end
of the scale. I can't really perceive any changes on that end and it just
seems like a solid color to me. Does it seem that way to anybody else?
Maybe shift the curve a bit to start a little more into the greens and have
more yellow/orange?

As for branding, while it isn't the same as Matlab's Parula, it does look
similar. That may or may not be a concern.

Ben Root


On Thu, Jun 4, 2015 at 4:13 PM, Eric Firing  wrote:

> On 2015/06/04 9:52 AM, Alexander Heger wrote:
> > When used in talks, you can see the green laser pointer
> > better on top of C.
>
> And perhaps a red laser pointer better on top of D?
>
>
> --
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
--
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-04 Thread Nathaniel Smith
On Thu, Jun 4, 2015 at 3:32 PM, Benjamin Root  wrote:
> As for option D, my only apprehension for it is on the blue (purple?) end of
> the scale. I can't really perceive any changes on that end and it just seems
> like a solid color to me. Does it seem that way to anybody else? Maybe shift
> the curve a bit to start a little more into the greens and have more
> yellow/orange?

This is useful feedback, but FWIW it looks fine here... so my first
guess is that this is due to variation between individual monitors.
While the Fancy Color Math we're using is definitely not perfect, it
does represent basically everything anyone knows about how color
works. The biggest limitation is that at the end of the day we have to
write down the colormap using RGB values, and you can send the exact
same RGB values to two different monitors and get different colors. So
the only thing we can do is to target sRGB, which has two virtues:
it's designed to be an inexact but reasonable approximation to what
most hardware does if you use it in a naive way; and, it's also what's
expected by more sophisticated setups -- like OSes and applications
that are color-management-aware, and ideally have access to calibrated
models of specific monitors / printers / whatever.

Over time this will hopefully improve as software and hardware are
upgraded, and more workflows will become "sophisticated". But until
then there's not much to do besides target sRGB and cross our fingers.
Unless anyone has access to some data on how popular consumer hardware
systematically deviates from sRGB... designing the perfect colormap
for "the monitor sitting on Benjamin Root's desk with its current
software drivers" may or may not help for anyone else :-).

Lacking real data like this, the best we can hope for is to try and
avoid any colormap that lots of people report causing specific
problems on the hardware they have access to (which is why I was
asking about projectors in particular upthread).

TL;DR: please do report such issues, but IMO these reports are only
really useful if lots of people report the same thing, or if it causes
many people to prefer one colormap to another; unfortunately it's not
very useful for tweaking small details.

-n

-- 
Nathaniel J. Smith -- http://vorpus.org

--
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-04 Thread Nathaniel Smith
On Thu, Jun 4, 2015 at 12:42 AM, Nathan Goldbaum  wrote:
>
> On Wed, Jun 3, 2015 at 5:17 PM, Stéfan van der Walt 
> wrote:
>>
>> On Wed, Jun 3, 2015 at 5:08 PM, Nathan Goldbaum 
>> wrote:
>> > I'm a big fan of option D.  So much so that when I needed to make a
>> > movie of
>> > ony my galaxy simulations today I went ahead and used it:
>> >
>> > https://youtu.be/bnm554et0T8
>>
>> Beautiful!  How hard would it be to also do this for the other
>> proposed colormaps?
>
>
> Thankfully you made it pretty easy to script this.
>
> jet: https://www.youtube.com/watch?v=dsvT5hImPmo
>
> parula: https://www.youtube.com/watch?v=8146CMi-OaQ
>
> option a: https://www.youtube.com/watch?v=IqvxuQSzWO4
>
> option b: https://www.youtube.com/watch?v=wa7bpV3XPV0
>
> option c: https://www.youtube.com/watch?v=3rHbq4jw1ew
>
> option d: https://www.youtube.com/watch?v=2_HiUXVNm2k

Awesome! Added these to the webpage.

For extra fun (90 mb download, but worth it):
http://vorpus.org/~njs/goldbaum-galaxies-all-colormaps.mkv

-- 
Nathaniel J. Smith -- http://vorpus.org

--
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel