Colored line or scatter plot
版本 1.0.0.0 (1.5 KB) 作者:
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),'*')
引用格式
Pekka Kumpulainen (2024). Colored line or scatter plot (https://www.mathworks.com/matlabcentral/fileexchange/19476-colored-line-or-scatter-plot), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2008a
兼容任何版本
平台兼容性
Windows macOS Linux类别
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots >
- MATLAB > Graphics > 2-D and 3-D Plots > Data Distribution Plots > Scatter Plots >
在 Help Center 和 MATLAB Answers 中查找有关 Line Plots 的更多信息
标签
致谢
启发作品: 3D colored line plot
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |