In the process of updating all my old scripts to work with Matlab R2014b, I've found that sometimes I want to generate the new default colormap while using R2012b. This function returns a blueish-greenish-orangey-yellowish color map which mimics, but does not exactly match the default parula color map introduced in Matlab R2014b.
Syntax and Description:
map = paruly(n) returns an n-by-3 matrix containing a parula-like colormap. If n is not specified, a value of 64 is used.
Cite As
Chad Greene (2024). paruly (https://www.mathworks.com/matlabcentral/fileexchange/48426-paruly), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Perceptually improved colormaps, Beautiful and distinguishable line colors + colormap, CubeHelix Colormap Generator: Beautiful and Versatile!, ColorBrewer: Attractive and Distinctive Colormaps, rgbmap color maps
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
paruly/
paruly/html/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |