How do I plot 3D data in MATLAB?

16 ビュー (過去 30 日間)
John
John 2011 年 11 月 7 日
コメント済み: Vito Vekic 2022 年 5 月 10 日
My data is of the format (x,y,z,T), where x,y and z are axes indicating a point and T is the colour value at the specified point.
Thanks

回答 (2 件)

Walter Roberson
Walter Roberson 2011 年 11 月 7 日
pointsize = 8; %adjust at will
scatter3(x(:), y(:), z(:), pointsize, T(:));

Yi Zhang
Yi Zhang 2021 年 4 月 13 日
pointsize = 8; %adjust at will
scatter3(x(:), y(:), z(:), pointsize, T(:));
  2 件のコメント
Bruno Credidio
Bruno Credidio 2022 年 3 月 28 日
Why did you just copy Walter Roberson's answer?
Vito Vekic
Vito Vekic 2022 年 5 月 10 日
Based

サインインしてコメントする。

カテゴリ

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