How to surf a specific contour ?

3 次查看(过去 30 天)
Hello,
I wonder if I can surf not only a rectangular area with "surf" (like using "meshgrid",...) but also an specific area like my .mat file. I tried to write a script to do so, but I thought there is maybe a simple way, maybe a function, to surf things like that. At the end I want also extrude it and use it as a 3D object. but first it would be enough if I could surf my area in the image.

采纳的回答

Star Strider
Star Strider 2018-8-24
For an example, see: how to convert 2D graph to 3D? (link). (Scroll down to the second plot figure.)
  2 个评论
Benutzer Name
Benutzer Name 2018-8-24
I want to create with "surf" not a "mesh". Also for simple geometries like an airfoil I can create a surface. But thanks for the information!
Star Strider
Star Strider 2018-8-24
As always, my pleasure.
Just substitute surf for mesh. The calling syntax for both functions are the same.

请先登录,再进行评论。

更多回答(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