2D 'Surface Plot' from 3D geometry

12 views (last 30 days)
Luke Benham
Luke Benham on 13 Jul 2020
Answered: Alan Weiss on 20 Jul 2020
Hi, Is there any way to create a 2D surface plot of a slice of a 3D geometry.
For example creating the 2d heatmap plot from the 3D at a specific Z slice (here at z=0 if z = [-25:25], i.e. slicing it in half.
p.s. the 2D plot here was created by creating an entirely different 2D geometry as a visual aid.

Answers (2)

Prabhan Purwar
Prabhan Purwar on 16 Jul 2020
Hi,
In order to draw slices from volumetric data try making use of slice function in MATLAB. Heat Map can be displayed using HeatMap functionality.
For more insights kindly refer to the following links:
Hope it helps.

Alan Weiss
Alan Weiss on 20 Jul 2020
There are some examples in the documentation that might be related to what you want.
Alan Weiss
MATLAB mathematical toolbox documentation

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!