Colored line or scatter plot

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),'*')

引用格式

Pekka Kumpulainen (2026). Colored line or scatter plot (https://ww2.mathworks.cn/matlabcentral/fileexchange/19476-colored-line-or-scatter-plot), MATLAB Central File Exchange. 检索时间: .

致谢

启发作品: 3D colored line plot

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0