Setting legends for multiple graphs

조회 수: 1 (최근 30일)
Aftab Ahmed Khan
Aftab Ahmed Khan 2014년 10월 10일
댓글: Aftab Ahmed Khan 2014년 10월 10일
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

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2014년 10월 10일
legend({'leg1','leg2','leg3','leg4'})

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Legend에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by