subplotnumber

버전 1.0.0.0 (3.62 KB) 작성자: Marc Jakobi
For the numbering of subplots in the top left corner.
다운로드 수: 60
업데이트 날짜: 2016/10/5

라이선스 보기

SUBPLOTNUMBER: For the numbering of subplots in the top left corner.
[For more than one subplot]
Syntax: h = subplotnumber;
numbering in the default format
(a),(b),... returns handle-array h.

h = subplotnumber(format)
numbering in user defined format. Returns
handle-array h.
e. g. h = subplotnumber('(A)');
or h = subplotnumber('1');

subplotnumber
default numbering without output

subplotnumber(format)
user defined numbering without output

subplotnumber('delete')
removes all numbering created by this
function

subplotnumber(format, [xp, yp])
subplotnumber([xp, yp])
adjustment of the position of the numbering

[For single axes (no subplots)]
Syntax: h = subplotnumber(number)
numbering with the string
'number' (outputs Text-Handle h)
e. g. h = subplotnumber('(b)');
or h = subplotnumber('2');

subplotnumber(number)
numbering with the string
'number' (no output)

subplotnumber(number, [xp, yp])
manual adjustment of the position

subplotnumber('delete')
removes all subplotnumbers created with
this function

Input arguments:
- format: Format of the numbering (string)
Supported formats:
- (a) - DEFAULT
- a
- (A)
- A
- (1)
- 1
Cursive and bold numbering can be added by adding:
\it (cursive) or \b (bold) to the format string.
e. g. format = '\it(a)';
format = '\ba';

- number: (in case of single axes) numbering to add to axes (string),
e. g. '(b)'
Cursive and bold numbering can be added by adding:
\it (cursive) or \b (bold) to the format string.
e. g. number = '\it(a)';
number = '\ba';

optional inputs:
- xp: x position (normalized) of the placement of the
subplotnumber
- yp: y position (normalized) of the placement of the
subplotnumber
Input as [xp, yp], a 1x2-double!

Output arguments (optional):
- h: Handle array of the placed text objects.
Ech text object is given the tag: 'subplotnumber'.

Hint:
By typing:
h = findobj(gcf,'Tag','subplotnumber');
subplotnumbers can be extracted from a figure.

Author: Marc Jakobi - 22.01.2016

인용 양식

Marc Jakobi (2024). subplotnumber (https://www.mathworks.com/matlabcentral/fileexchange/59495-subplotnumber), MATLAB Central File Exchange. 검색 날짜: .

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

Community Treasure Hunt

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

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