How to plot a 3D surface from individual layers?

9 visualizaciones (últimos 30 días)
VMueller
VMueller el 12 de Nov. de 2015
Comentada: Star Strider el 12 de Nov. de 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 comentario
Star Strider
Star Strider el 12 de Nov. de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by