How to put legend?

47 次查看(过去 30 天)
I'm searching to find out that how I would put legend in my graph. I have drawn countour plot, quiver plot and streamline in the same graph.
I don't want to show all the data's but only want to show by legend that these three are different. So, that anyone would understand the three from the graph. I'm attaching my codes. Kindly help!

采纳的回答

Vashist Hegde
Vashist Hegde 2020-7-3

更多回答(1 个)

Anshuman Deka
Anshuman Deka 2020-7-3
You could add separate display names to your plots , and later add legends for the entire graph and each plot would have a separate display legend.

类别

Help CenterFile Exchange 中查找有关 Legend 的更多信息

标签

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by