How to draw a specific figure
    7 views (last 30 days)
  
       Show older comments
    
    mohammad heydari
 on 7 May 2021
  
    
    
    
    
    Commented: mohammad heydari
 on 7 May 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.
0 Comments
Accepted Answer
  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
  Abdolkarim Mohammadi
      
 on 7 May 2021
				There are many examples in the documentation page of patch() and contour(). 
More Answers (0)
See Also
Categories
				Find more on Surface and Mesh 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!