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.
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