figtitle

버전 1.4.1 (119 KB) 작성자: Chad Greene
Create a title for a figure with multiple subplots.
다운로드 수: 8K
업데이트 날짜: 2019/5/20

라이선스 보기

figtitle creates a title centered at the top of a figure. This may be used to add a title to a figure with several subplots.
Syntax:
figtitle('TitleString')
figtitle('TitleString','TextProperty','TextValue')
h = figtitle(...)

Description:
figtitle('TitleString') centers a title at the top of a figure and sets the figure name to 'TitleString'.

figtitle('TitleString','TextProperty',TextValue) formats the title with property name value pairs (e.g., 'FontSize',20)

h = figtitle(...) returns a handle h of the newly-created title.

Examples:

figtitle('My Title')

figtitle('My Title','fontweight','bold')

figtitle('My Title,'fontsize',18,'fontangle','oblique')

h = figtitle('My Title');
set(h,'edgecolor','magenta');

In many cases a figure title may overlap a subplot title. To reduce ambiguity, try pairing this function with the ntitle function, which is available on the Mathworks File Exchange here: http://www.mathworks.com/matlabcentral/fileexchange/42114-ntitle. The image for this FEX upload was created using the figtitle and ntitle example given in figtitle.m.

인용 양식

Chad Greene (2024). figtitle (https://www.mathworks.com/matlabcentral/fileexchange/42667-figtitle), MATLAB Central File Exchange. 검색됨 .

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

Community Treasure Hunt

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

Start Hunting!

figtitle_documentation

버전 게시됨 릴리스 정보
1.4.1

Added live scripts

1.4.0.0

Vectorized a loop.

1.3.0.0

Added example file. Changes to figtitle: now supports invisible figures and now changes the name of figures to input title string.

1.2.0.0

Acknowledged submission 3218.

1.1.0.0

Updated examples. Also no longer returns a title handle unless the user requests it.

1.0.0.0