How do get 'plumblines' for scatterplot points?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Jonathan Charron
am 6 Dez. 2023
Beantwortet: Star Strider
am 6 Dez. 2023
On my scatter3 plot I wanted to draw a line from each point's marker on the plot, down to the surface plane, so the points can be visually differentiated by their height Z/length of line. Is there a way to do this?
0 Kommentare
Akzeptierte Antwort
Star Strider
am 6 Dez. 2023
If you want to colour the points, use something like this —
figure
stem3(X, Y, Z)
hold on
scatter3(X, Y, Z, 25, Z)
hold off
grid
That should work.
.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!