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

17 Ansichten (letzte 30 Tage)
Mudasir Ahmed
Mudasir Ahmed am 10 Sep. 2017
Kommentiert: Mudasir Ahmed am 9 Nov. 2017
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

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Data Distribution Plots finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by