Clear Filters
Clear Filters

How to visualize a tubular volume/surface passing through a given scalar data (points in 3D) forming a sequence of cross-sections

4 views (last 30 days)
I have a set of (x,y,z) points in 3D space (see, attached PDF): The data consists of 14 "cross-sections", each of them taken at one of fixed y-coordinate values (14 of them). The number of points within each corss-section varies and so does the shape and area of the cross section. I want to visualize this data as a tubular surface or a volume whose cross-sections match the given ones, as this seems like its most natural visualization.
I am wondering if there are any built-in matlab commands to do this and/or if there are some of the strategies one could use to visualize this kind of data.
Additional note: In a given cross-section, the number of red and blue points is the same, indicating maximum and minimum z-values for each x-coordinate, respectively.

Accepted Answer

darova
darova on 31 Oct 2019
Here is one way:
Interpolate each crossection with equal number of points (look HERE)
1233.png
Concantenate them and just use surf to visualize it

More Answers (0)

Community Treasure Hunt

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

Start Hunting!