How to plot a 3D surface from individual layers?

8 Ansichten (letzte 30 Tage)
VMueller
VMueller am 12 Nov. 2015
Kommentiert: Star Strider am 12 Nov. 2015

<<

>>

I know questions about 3-d plotting come by quite often, but so far I couldn't find a solution to my problem.

I have a set of coordinates x,y (black dots in the plot) for each depth layer z that define the outer limit of a 3-d vortex (kind of like a tornado). The spacing in z is non uniform, also the length of (x,y) is different for different depth levels. What I want to do is plotting a 3-d surface "closing" the vertical gaps between the different lines.

I have tried combining all x,y,z data in vectors and then playing around with griddata/surface plot combinations, but it didn't lead to the desired result, because interpolation then happens in all directions, but all I want is filling the z-direction.

  1 Kommentar
Star Strider
Star Strider am 12 Nov. 2015
The only possibility I can suggest is the cylinder function. It could work for you without modification. At the very least, it could provide you with a way to approach your plot.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by