Setting legends for multiple graphs

1 vue (au cours des 30 derniers jours)
Aftab Ahmed Khan
Aftab Ahmed Khan le 10 Oct 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

Réponse acceptée

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

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by