MATLAB Answers

How to draw a specific figure

1 view (last 30 days)
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

Abdolkarim Mohammadi
Abdolkarim Mohammadi on 7 May 2021
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
mohammad heydari
mohammad heydari on 7 May 2021
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!