Legend

조회 수: 2 (최근 30일)
Lizan
Lizan 2011년 12월 11일
Hi, I am plotting a matrix but I don't want the legend to divide the label into the different columns instead just one "legend" per matrix. Is this possible?
  댓글 수: 1
Jan
Jan 2011년 12월 11일
What exactly does "plotting a matrix" mean? As lines, as image, as PATCH or SURFACE object?
What does "one legend per matrix" exactly mean?

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

답변 (1개)

the cyclist
the cyclist 2011년 12월 11일
I don't understand your question, but I am going to take a guess. Is this what you mean? Notice that I plotted four lines, but only have a legend on two of them.
h = plot(rand(5,4),'.-')
legend([h(1) h(3)],{'First line','Third line'})

카테고리

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