Setting legends for multiple graphs

1 visualización (últimos 30 días)
Aftab Ahmed Khan
Aftab Ahmed Khan el 10 de Oct. de 2014
Comentada: Aftab Ahmed Khan el 10 de Oct. de 2014
Hi, I have this set of plots now and i want to set a legend for all these graphs. Is there any way of doing so. All these plots are generated by a single plot command for each iteration of offered traffic. So then how can i set the legend for it in this way?
Brown-15 Erlang.
Red-12 Erlang.
Yellow-10 Erlang.
. . Green-1 Erlang

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 10 de Oct. de 2014
legend({'leg1','leg2','leg3','leg4'})

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by