How to specify the RGB color of dots in scatter3?

1 次查看(过去 30 天)
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 个评论
Stephen23
Stephen23 2017-4-17
编辑:Stephen23 2017-4-17
@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).

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Scatter Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by