Borrar filtros
Borrar filtros

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

18 visualizaciones (últimos 30 días)
Mudasir Ahmed
Mudasir Ahmed el 10 de Sept. de 2017
Comentada: Mudasir Ahmed el 9 de Nov. de 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

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by