Graph data series with colors
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Along with say hello, I am attaching a .txt, where the first column is the X axis, the second column is the Y axis, and the third column represents the magnitude.
What I need is a 2D graph of X vs Y, and with a colorbar (color scale) that represents the magnitude of the third column.
Thanks greetings.
0 comentarios
Respuestas (1)
Chunru
el 28 de Jul. de 2021
load data.txt
scatter(data(:,1), data(:,2), [], data(:,3), 'filled'); colorbar;
0 comentarios
Ver también
Categorías
Más información sobre Annotations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!