cmap = may2011_fireprint(n)
n | The number of elements (256) |
Further on, the following options can be applied:
'minColor' | The absolute minimum value can have a different color ('none'), 'white','black','lightgray', 'darkgray' or any RGB value ex: [0 1 0] |
'maxColor' | The absolute maximum value can have a different color |
'invert' | (0), 1=invert the whole colormap |
figure; imagesc(peaks(200)); colormap(fireprint) colorbar
figure; imagesc(peaks(200)); colormap(fireprint(256,'minColor','black','maxColor',[0 1 0])) colorbar
figure; imagesc(peaks(200)); colormap(fireprint(256,'invert',1,'minColor','darkgray')) colorbar