How can i make a common legend (title) for subplots?
조회 수: 3 (최근 30일)
이전 댓글 표시
As you see in the img I have the same legend for the four subplot.
How can I position it only once outside the subplot? Maybe to the right of subplots or to the left or at centre (iterazione means iteration).
Then, I know that I can use a title for each subplot but how can I use just only title for the whole figure?
Thank you
댓글 수: 1
답변 (2개)
Star Strider
2014년 6월 4일
Only call the legend in subplot(2,2,2), and not the others, and use -1 as the position indicator. That will put it outside (to the right) of the second subplot in the first row.
Image Analyst
2014년 6월 2일
댓글 수: 2
Image Analyst
2014년 6월 4일
It's not a built-in function, so whatever version you have does not matter. It's something a user wrote and uploaded. You need to download it to some folder on your search path.
참고 항목
카테고리
Help Center 및 File Exchange에서 Legend에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!