How to plot a 3D surface from individual layers?

조회 수: 9 (최근 30일)
VMueller
VMueller 2015년 11월 12일
댓글: Star Strider 2015년 11월 12일

<<

>>

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
Star Strider
Star Strider 2015년 11월 12일
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.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by