(Some) Matplotlib colormaps in Matlab
a = reshape(linspace(0, 1, 256*256), 256, 256);
imshow(a);
colormap(make_colormap('RdBu', 256));
This is a pure port of some of the colormaps embedded in Matplotlib. Matplotlib's license (or the license of the indiviudal colormaps) is retained. See https://matplotlib.org/stable/users/license.html