Colored line or scatter plot
Version 1.0.0.0 (1,49 ko) par
Pekka Kumpulainen
Plot lines with CData, (actually surface)
plots a 2-D "line" with c-data as color
Makes a surface object and the colouring is controlled by the colormap.
Examples:
x = 0:0.1:2*pi;
color_line(x,sin(x),sin(x))
color_line(x,cos(x),cos(x),'*')
Citation pour cette source
Pekka Kumpulainen (2026). Colored line or scatter plot (https://fr.mathworks.com/matlabcentral/fileexchange/19476-colored-line-or-scatter-plot), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2008a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots >
- MATLAB > Graphics > 2-D and 3-D Plots > Data Distribution Plots > Scatter Plots >
En savoir plus sur Line Plots dans Help Center et MATLAB Answers
Tags
Remerciements
A inspiré : 3D colored line plot
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.0.0.0 |
