필터 지우기
필터 지우기

Plot 3D shape with grid cell

조회 수: 9 (최근 30일)
Anh Mai
Anh Mai 2021년 8월 31일
답변: KSSV 2021년 8월 31일
Can we plot some 3D like this using MATLAB? I will only need to enter XYZ to get the 3D shape of XYZ with the grid cells as the above image. Thank you all.
  댓글 수: 1
Adam Danz
Adam Danz 2021년 8월 31일
Check out the documentation for surf().

댓글을 달려면 로그인하십시오.

답변 (1개)

KSSV
KSSV 2021년 8월 31일
You have variety of functions to achieve it. It depends on what data you have. I assume you have a 3D volume data i.e. matrices of size mxnxp for X, Y, Z, They would be obtained from ndgrid. What you have plotted can be achieved using slice function. Read about slice. Also you have volumeViewer app, have a look on that.

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

태그

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by