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;
引用格式
Will Robertson (2026). colourplot (https://ww2.mathworks.cn/matlabcentral/fileexchange/11235-colourplot), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2006a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Annotations 的更多信息
