Why does the legend not resize when I modify the legend font size in MATLAB 2013 ?

조회 수: 1 (최근 30일)
Balaji
Balaji 2014년 7월 16일
댓글: Star Strider 2014년 7월 16일
In a subplot, the legend box does not update its size and location when the font size of the legend text and the sample line lengths are decreased. To resolve this issue, I tried specifying the legend explicitly like this
hleg = legend('a','b',c','d')
set(hleg,'Position', [x0,y0,width,height]);
But this time, the legend remains invisible and behind the plot. Is there a way to work around this issue ?
  댓글 수: 1
Star Strider
Star Strider 2014년 7월 16일
What was your original code? It would help to know what did not work and why the fix failed as well.

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

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