Color code a scatter plot
版本 1.0.0.0 (3.3 KB) 作者:
Kye Taylor
Color code a scatter plot in one, two, or three dimensions according to scalar function of the data.
The function buildcmap.m takes a vector as input, where entry i represent the value of a function (f) at the ith data point. Using output from buildcmap.m, showset.m plots one, two, or three dimensional data as a colored point cloud, where the color encodes the value of f. For example, the files can be used to visualize four dimensional data in three-space: position encodes three variables while the color encodes the fourth.
引用格式
Kye Taylor (2026). Color code a scatter plot (https://ww2.mathworks.cn/matlabcentral/fileexchange/32765-color-code-a-scatter-plot), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2009b
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Scatter Plots 的更多信息
标签
| 版本 | 已发布 | 发行说明 | |
|---|---|---|---|
| 1.0.0.0 |
