How to plot a contour diagram?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hong Wei Tang
am 23 Aug. 2021
Kommentiert: Bjorn Gustavsson
am 23 Aug. 2021
Greetings, could you guys teach me how to plot a contour diagram just like the picture below? Thanks and have a great day.
2 Kommentare
Akzeptierte Antwort
Bjorn Gustavsson
am 23 Aug. 2021
You should be able to do that with pcolor-in-polar-coordinates. Perhaps you might need to lightly modify the function to exactly tailor the plot to your desired look. (I recall having to do that but have forgotten exactly why I did what...)
HTH
2 Kommentare
Bjorn Gustavsson
am 23 Aug. 2021
The function is available on the File Exchange if you follow the link. FEX is a repository of an impressive range of user-supplied functions and toolboxes that extends the capabilities of matlab - whenever I have to solve a new coding-problem I have made a habit of looking at the file exchange for solutions that does the job - most of the time it is possible to find solutions that takes me at least 50 per cent of the way. This function you simply download and put into the directory where you have the utility-functions you've written and have on the matlab-path.
HTH
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!