How to surf a specific contour ?

4 views (last 30 days)
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.
  1 Comment
madhan ravi
madhan ravi on 24 Aug 2018
Without your code definitely you won't get an answer.

Sign in to comment.

Accepted Answer

Star Strider
Star Strider on 24 Aug 2018
For an example, see: how to convert 2D graph to 3D? (link). (Scroll down to the second plot figure.)
  2 Comments
Benutzer Name
Benutzer Name on 24 Aug 2018
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 on 24 Aug 2018
As always, my pleasure.
Just substitute surf for mesh. The calling syntax for both functions are the same.

Sign in to comment.

More Answers (0)

Categories

Find more on Contour Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!