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

24 vues (au cours des 30 derniers jours)
Mudasir Ahmed
Mudasir Ahmed le 10 Sep 2017
Commenté : Mudasir Ahmed le 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

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by