Colored line or scatter plot

Plot lines with CData, (actually surface)

Vous suivez désormais cette soumission

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 .

Remerciements

A inspiré : 3D colored line plot

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0