tsipkens / cmap Goto Github PK
View Code? Open in Web Editor NEWPerceptually uniform colormaps for MATLAB, compiled from multiple sources.
Perceptually uniform colormaps for MATLAB, compiled from multiple sources.
Hey,
Just wanted to share this tiny function I just wrote to help pick up a colormap from an image. I saw you had something related (get_from_img.m
), and I had myself written something similar a while ago too (make_c_map_out_of_screenshot.m
), but I think this is more user-friendly:
https://github.com/briochemc/cmap_picker
Not sure it'll be useful to you, but if it is then that's good!
Closing this right away because it's not an issue with your repo :)
Just wanted to share a link to the ColorSchemes.jl catalogue (for Julia). Just thought you'd be interested in it as a potential resource because copying a colormap here would then only require a little copy-pasting.
Just noticed that out of the diverging colorbrewer colormaps listed here
Only the first and last ones are oriented in the same way that https://colorbrewer2.org/#type=diverging is. In other words rdylgn
, piyg
, and prgn
should be reversed to match the original colormaps. Note that I have not checked other colormaps!
I think colorbrewer chose these orientations because we traditionally expect red-ish colors to represent the most positive values (i.e., at the top/right/end of the colormap).
That being said, colorbrewer's naming convention itself is not consistent, e.g., RdBu
starts with blue (at the bottom) while PuOr
starts with orange purple (edited)...
So maybe it is worth correcting colorbrewer's inconsistency here and only having names that match the color order? I.e., RdBu
would go from red to blue. An ideal solution is probably to also allow for BuRd
in this case, which would go blue to red. What do you think?
MAKO colormap contains light colours on dark end of the colour range.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.