Colored line or scatter plot
Version 1.0.0.0 (1,49 KB) von
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),'*')
Zitieren als
Pekka Kumpulainen (2024). Colored line or scatter plot (https://www.mathworks.com/matlabcentral/fileexchange/19476-colored-line-or-scatter-plot), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Erstellt mit
R2008a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots >
- MATLAB > Graphics > 2-D and 3-D Plots > Data Distribution Plots > Scatter Plots >
Mehr zu Line Plots finden Sie in Help Center und MATLAB Answers
Tags
Quellenangaben
Inspiriert: 3D colored line plot
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |