How to specify the RGB color of dots in scatter3?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaire
Stephen23
le 17 Avr 2017
Modifié(e) : Stephen23
le 17 Avr 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).
Réponses (0)
Voir également
Catégories
En savoir plus sur Scatter Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!