How to represent multiple lines (20+) in legend?

17 次查看(过去 30 天)
hi I want to represent data with plot having 24 lines. but when I add the description of each line in the legend, the legend box crosses even the plot frame itself. For better visualization, what should I do. Kindly help me I will be highly thankful to you.
with best regards mudasir

采纳的回答

KL
KL 2017-9-10
  5 个评论
KL
KL 2017-11-9
That's simple, use
legend_str{ii} = ['\theta_{' num2str(ii) '}'];
Mudasir Ahmed
Mudasir Ahmed 2017-11-9
Dear sir KL,
Thank you so much. Now It is perfectly working.
best regards Mudasir

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Distribution Plots 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by