How to specify the RGB color of dots in scatter3?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi, I have a question about using scatter3.
I need to use dots '.' for my figure, but I can't figure out how to specify the RGB color of it. My code is like
scatter3(X,Y,Z,'.')
I tried bunch of sizes of a circle, but the dot('.') is the best for my figure. How can I specify the RGB color of the dots?
Thank you,
1 Kommentar
Stephen23
am 17 Apr. 2017
Bearbeitet: Stephen23
am 17 Apr. 2017
@ROJO: The scatter3 documentation gives clear examples and explanations of how to color the markers. The word "color" is mentioned exactly fifty times on that page (did you read any of them)? Not only that there are full working examples which you can try yourself (did you try any of them?). Quiz question: why does MATLAB have documentation? (Hint: for users to look up and know how to use MATLAB).
Antworten (0)
Siehe auch
Kategorien
Mehr zu Scatter 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!