Color code a scatter plot
Versión 1.0.0.0 (3,3 KB) por
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.
Citar como
Kye Taylor (2026). Color code a scatter plot (https://la.mathworks.com/matlabcentral/fileexchange/32765-color-code-a-scatter-plot), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2009b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Scatter Plots en Help Center y MATLAB Answers.
Etiquetas
Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 1.0.0.0 |
