Use shorthand for text layout

Allows you to specify alignment options using single character flags.
131 download
Aggiornato 30 ott 2014

Visualizza la licenza

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

Cita come

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

Compatibilità della release di MATLAB
Creato con R12
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Characters and Strings in Help Center e MATLAB Answers
Tag Aggiungi tag

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.1.0.0

Fixed help text

1.0.0.0