How to draw a specific figure

4 vues (au cours des 30 derniers jours)
mohammad heydari
mohammad heydari le 7 Mai 2021
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.

Réponse acceptée

Abdolkarim Mohammadi
Abdolkarim Mohammadi le 7 Mai 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 commentaires
Abdolkarim Mohammadi
Abdolkarim Mohammadi le 7 Mai 2021
There are many examples in the documentation page of patch() and contour().
mohammad heydari
mohammad heydari le 7 Mai 2021
Thank you very much indeedd.

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by