Comments (9)
Bright like the prinsenvlag
concept above is great!
from cmasher.
Yes
from cmasher.
Hi @kgrasha,
thanks for your request and it is great to see that you like the colormaps that CMasher has to offer.
I have quite a long answer to your request, so bear with me please.
So, if I understand correctly, what you are looking for is the following:
- Bright blue - red/orange white-centered diverging colormap (
cosmic
/sunburst
); - Purple - red/orange white-centered diverging colormap (
amethyst
/sunburst
. Are you sure you meantamethyst
and notgothic
?).
These colormaps are then used for studying how close the scattered values are to the average value, as white-centered diverging colormaps should be used for plots where the importance of the values decreases with increasing distance to the center, and black-centered ones for those plots where the importance increases with increasing distance to the center.
Did I get all that right?
If so, then I am also assuming that the fusion
colormap is not what you are looking for, which is blue/purple - red/orange, has a white center and is relatively close to the combination of amethyst
and sunburst
(they are not related to each other, unlike flamingo
and redshift
for example).
I can show this by literally combining the amethyst
and sunburst
colormaps together and comparing it to fusion
:
They of course aren't quite the same, but it gets rather close.
If you are however happy with something like this, then I can just give you the files that contain the colormap data (as it is too similar to fusion
for me to add to CMasher really).
For the first colormap (blue - white - red/orange), it would probably be something similar to iceburn
, but with a white center instead of a black one.
I actually currently have a concept colormap in the works that is pretty much that (after a friend asked me for it), albeit slightly less dark around the edges, which currently looks like this:
This might however be too much orange and not enough red.
Let me know what you think of this.
Then I get to the use of cosmic
.
The thing that makes cosmic
so great is that it does not go from pure black to pure white (or, as I would call it, a [0, 100]
colormap), but instead goes from pure black to something else.
The point of not using white as the final color is that it unlocks a very large range of colors that can be in the colormap that are too far away from white to be used in a colormap that does end in white (given the requirement that the colormap must be perceptually uniform sequential).
All colormaps in the CMasher colormap overview on the docs and README that are above amethyst
do not end in white, but instead end in such a color (that cannot be reached otherwise).
Basically, what this means, is that the bright blue at the end of cosmic
is a color that cannot be reached from white.
The distance between white and that blue is too large.
To illustrate this, this is what cosmic
would look like if I made it end in pure white:
This is rather close to a hybrid of freeze
and voltage
and really does not have that nice bright blue part in it anymore.
Of course, using cosmic
as the end of a black-centered diverging colormap can be done, as it has a black end, but that is not what you were requesting.
Let me know what you think about my comments above and how to proceed.
I am more than happy to give it a try to include as much of cosmic
in a white-centered diverging colormap as possible, but I have no idea how that will turn out.
from cmasher.
The more I think about it, fusion
and a white-centered iceburn
would be completely appropriate for what I'm looking for. I hear what you are saying regarding cosmic, and while I love it, having it go from white simply cannot be achieved. Who would have thought that I should have just asked for a white-centered iceburn
!
from cmasher.
Haha.
That is why I gave a detailed and extensive answer, to show you the possibilities.
Would you like the white-centered iceburn
to be rather dark near the edges or just bright like the prinsenvlag
concept above?
from cmasher.
thank you!
from cmasher.
Alright, I am hoping to tackle all these open issues tomorrow.
Tomorrow is going to be a very colorful day it seems. :)
from cmasher.
Alright, the prinsenvlag
colormap was added in 812f6d3.
I am waiting for responses in other issues before v1.6.1 on the dev
branch will be released.
If you really need the colormap right now, you can download this file from the dev
branch and load the colormap into MPL that way.
from cmasher.
Can I consider this issue to be resolved, @kgrasha?
from cmasher.
Related Issues (20)
- Adding stub file of cm.py HOT 3
- `view_cmap()` does not show cmap and returns: `FigureCanvasAgg is non-interactive, and thus cannot be shown` HOT 4
- Instructions for R/IDL/Matlab/DS9/etc. users HOT 6
- Circular cmaps? HOT 21
- Colormap summary table HOT 22
- I love pastel colors, it will be cool to have a pastel colormaps :) HOT 5
- eclipse divergent and other possibilities HOT 61
- Instructions on how to import CMasher colormaps into Tableau HOT 3
- Possible contribution: some sequential, some ~diverging HOT 1
- XML format HOT 3
- Is there any chance you can make this colormap for me? Thank you so much in advance. HOT 1
- Future incompatibility with MPL HOT 3
- 2D Colormaps HOT 2
- Missing "*_s" colormaps HOT 1
- Ability to reduce central 'whiteness' in diverging colormaps HOT 4
- Faster center transition for dark-centered diverging maps
- dutch blue and oranje diverging cmap request
- Matplotlib deprecation warnings HOT 3
- Is there a way to reverse the sequential cmasher colormaps? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmasher.