Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uniform lightness cyclic colourmap #200

Open
Nordicus opened this issue Jan 10, 2025 · 0 comments
Open

Uniform lightness cyclic colourmap #200

Nordicus opened this issue Jan 10, 2025 · 0 comments
Labels
colormap request New colormap idea or request

Comments

@Nordicus
Copy link

Describe the colors you would like
Any/all. I think that the infinity colourmap looks excellent and is better than twilight and certainly better than HSV for my purposes.

Describe the colormap type
Cyclic

Describe any extra properties
Perceptually uniform is a must, and while CVD friendly would be a plus, a second colourmap specifically designed for each specific colourblindess would also be fine. I can publish multiple versions of my charts most of the time.

Is your colormap request related to a specific application? Please describe.
I am trying to visualise phase of wavefields. There is no such thing as absolute phase in scalar optics. A phase of 0, nor of pi is a special value. Every other cyclic colourmap I have found (with the exception of naive colourmaps like HSV which are not perceptually uniform) attempt to have a white or black point at 0 indicating it as a special value. For my application this is misleading.

Additional context
I would especially appreciate an additional feature to create a colour cylinder from a pair of values in the intervals ([0, 1], [0, 2*pi]) and get an RGB value for plotting in which the cylinder is perceptually uniform, however this would not be a standard matplotlib colourmap and would therefore be significantly more work than the basic request.
The line from roughly bottom left to the rightish top visible in the visualisation of infinity is an artefact in visualisations of cyclic data where 0 has no special meaning.

@Nordicus Nordicus added the colormap request New colormap idea or request label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
colormap request New colormap idea or request
Projects
None yet
Development

No branches or pull requests

1 participant