Color code a scatter plot

Color code a scatter plot in one, two, or three dimensions according to scalar function of the data.
Aktualisiert 1. Sep 2011

Lizenz anzeigen

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.

Zitieren als

Kye Taylor (2024). Color code a scatter plot (, MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2009b
Kompatibel mit allen Versionen
Windows macOS Linux
Mehr zu Scatter Plots finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise