フィルターのクリア

Scatter Plot, Color on Z not differentiated as expected

1 回表示 (過去 30 日間)
newbie9
newbie9 2018 年 10 月 29 日
回答済み: Star Strider 2018 年 10 月 29 日
I have a dataset of ~150k pts, xyz. Range of z is pretty broad, as illustrated below. I'd like a color map of z, not just shades of blue. I know I must be missing something obvious!

回答 (1 件)

Star Strider
Star Strider 2018 年 10 月 29 日
Experiment with scatter3 instead of scatter. (If you want a 2D view, you can do that with the view function.)
The default colormap should show different colors as a function of ‘z’. Also, consider experimenting with the caxis function.

カテゴリ

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