simonhenin/columnle​gend

버전 3.0.0.1 (50.9 KB) 작성자: Simon Henin
Creates a legend with a specified number of columns
다운로드 수: 35.7K
업데이트 날짜: 2020/1/8

편집자 메모: This file was selected as MATLAB Central Pick of the Week

As of Matlab 2018a, legend() now supports columns, so function will no longer be maintained: https://www.mathworks.com/help/matlab/ref/legend.html#d117e809522

Updated 9/8/16: Added new legend positions (e.g. northeastoutside) and better positioning.
usage:
numlines = 5;
r = rand(10,numlines);
plot(r);
columnlegend(2, cellstr(num2str([1:numlines]')), 'location', 'northeastoutside');

PRINTING: If you want to print the figure, you'll have to use a command line printer (e.g. export_fig) as the File->Print option embedded in the figure resets the figure properties including the legend

인용 양식

Simon Henin (2024). simonhenin/columnlegend (https://github.com/simonhenin/columnlegend), GitHub. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2008b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Legend에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

GitHub 디폴트 브랜치를 사용하는 버전은 다운로드할 수 없음

버전 게시됨 릴리스 정보
3.0.0.1

Note about support

3.0.0.0

Add more legend locations and better positioning

2.0.0.0

+ Updates for compatibility with 2015a
+ Adds minor improvements as per user suggestions
+ Updates for compatibility with 2015a
+ Adds minor improvements as per user suggestions

1.9.0.0

Bug fix

1.7.0.0

Updates/Bug Fixes

1.6.0.0

removed hidden files.

1.5.0.0

Minor bug fix

1.4.0.0

Added functionality when using markers.

1.2.0.0

Add instructions for printing figure with columns

1.1.0.0

Removed Mac OS hidden files from zip file.

1.0.0.0

이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.