You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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;
plot(x,x);
plot(x,-x);
colourplot;
Cite As
Will Robertson (2026). colourplot (https://www.mathworks.com/matlabcentral/fileexchange/11235-colourplot), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.1.0.0 (2.58 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
