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;
Citation pour cette source
Will Robertson (2026). colourplot (https://fr.mathworks.com/matlabcentral/fileexchange/11235-colourplot), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2006a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur Annotations dans Help Center et MATLAB Answers
Tags
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.1.0.0 | Update, and add BSD licence to the source. |
||
| 1.0.0.0 |
