Plot 3D shape with grid cell

2 views (last 30 days)
Anh Mai
Anh Mai on 31 Aug 2021
Answered: KSSV on 31 Aug 2021
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.

Answers (1)

KSSV
KSSV on 31 Aug 2021
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.

Tags

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!