A short function to colour plots with all the colours of the rainbow. Gives better output than trying to select good colours in advance.
figure; hold on; x = 1:10;
Thanks, Will - a real time saver.
For a highly coloured gamut that converts to greyscale, see sc.m and use the 'contrast' colourmap.
Feel free to use the code.
Works excellent! Thanks
Sam: sorry, you must have been misled. This package is designed for creating *coloured* plots. I you can suggest an algorithm that gives a nice spread of colours that also corresponds to smoothly varying greyscale, I'll happily incorporate it...
Doesn't convert to grayscale well for printing.
Update, and add BSD licence to the source.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.