How to draw a specific figure

Hi there.
I have no idea how to draw these types of figures. I want to know how these types of diagrams should be drawn and I need a sample code for these types of shapes. The desired figures is attached.
Thanks in advance for helping.

 Accepted Answer

If you have the data for the edges of the curves, you can use patch(). If multiple curves belong to one or more surfaces, you can use contour().

3 Comments

Can you give an example? I still do not fully understand it.
Thank you
Thank you very much indeedd.

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!