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

조회 수: 22 (최근 30일)
Mudasir Ahmed
Mudasir Ahmed 2017년 9월 10일
댓글: Mudasir Ahmed 2017년 11월 9일
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

채택된 답변

KL
KL 2017년 9월 10일
  댓글 수: 5
KL
KL 2017년 11월 9일
That's simple, use
legend_str{ii} = ['\theta_{' num2str(ii) '}'];
Mudasir Ahmed
Mudasir Ahmed 2017년 11월 9일
Dear sir KL,
Thank you so much. Now It is perfectly working.
best regards Mudasir

댓글을 달려면 로그인하십시오.

추가 답변 (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