You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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),'*')
Cite As
Pekka Kumpulainen (2026). Colored line or scatter plot (https://www.mathworks.com/matlabcentral/fileexchange/19476-colored-line-or-scatter-plot), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: 3D colored line plot
General Information
- Version 1.0.0.0 (1.49 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
