plots a 2-D "line" with c-data as color
Makes a surface object and the colouring is controlled by the colormap.
x = 0:0.1:2*pi;
Pekka Kumpulainen (2021). Colored line or scatter plot (https://www.mathworks.com/matlabcentral/fileexchange/19476-colored-line-or-scatter-plot), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired: 3D colored line plot
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!