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.
Chad Greene (2022). paruly (https://www.mathworks.com/matlabcentral/fileexchange/48426-paruly), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: Perceptually improved colormaps, cbrewer : colorbrewer schemes for Matlab, 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!