How to specify the RGB color of dots in scatter3?

2 ビュー (過去 30 日間)
ROJO
ROJO 2017 年 4 月 17 日
編集済み: Stephen23 2017 年 4 月 17 日
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 Center および File ExchangeScatter Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by