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 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