LEGENDTITLE

버전 1.0.0.1 (2.66 KB) 작성자: Steve Simon
Add a title string inside a legend.
다운로드 수: 4.2K
업데이트 날짜: 2016/9/1

라이선스 보기

LEGENDTITLE adds a title inside the legend axes.
LEGENDTITLE(LEGH,TITLESTR) adds the title TITLESTR to the legend LEGH
LEGENDTITLE(TITLESTR) adds the title to the current legend in the current axes.
LEGENDTITLE(...,Param,Val) sets the specified properties for the text object.
H = LEGENDTITLE(...) returns the handle for the text object used to create the title string.
By default, the legend title uses the same font as the legend, but with a bold font weight.

Example:

plot(rand(10,5))
legh = legend('Random 1','Random 2','Random 3','Random 4','Random 5');
legendtitle(legh,'Random Data')

인용 양식

Steve Simon (2026). LEGENDTITLE (https://kr.mathworks.com/matlabcentral/fileexchange/4561-legendtitle), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R14
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
도움

도움 준 파일: Add a title to a legend

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.1

Updated license

1.0.0.0

Update to work in R14 and later.