Use shorthand for text layout

버전 1.1.0.0 (1.19 KB) 작성자: Aslak Grinsted
Allows you to specify alignment options using single character flags.
다운로드 수: 131
업데이트 날짜: 2014/10/30

라이선스 보기

Shorthand layout of text objects
USAGE: h=ltext(x,y,s,flags[,parameter-value-pairs])
flags is a string of one character layout options for the text object.
Valid options are:
n: normalized-units
c: center horizontal alignment
r: right horizontal alignment
l: left horizontal alignment
t: top vertical alignment
b: bottom vertical alignment
m: middle vertical alignment

EXAMPLE:
ltext(1,1,'Text in top left corner','nrt')

-----
Aslak Grinsted 2014

인용 양식

Aslak Grinsted (2024). Use shorthand for text layout (https://www.mathworks.com/matlabcentral/fileexchange/48305-use-shorthand-for-text-layout), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R12
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Characters and Strings에 대해 자세히 알아보기
태그 태그 추가

Community Treasure Hunt

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

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

Fixed help text

1.0.0.0