swplot.text#
Syntax#
hText = swplot.text(r, string)
hText = swplot.text(r, string, fontSize)
hText = swplot.text(handle, ...)
Description#
hText = swplot.text(r, string) creates single or multiple text in 3D
space.
hPatch = swplot.text(handle, ...) adds the generated text object to a
given axis referenced by handle.
Input Arguments#
handleHandle of an axis object, default value is gca.
rCoordinate of the center of the text for a single text or matrix with dimensions \([3\times n_{obj}]\) for multiple text.
stringString that contains the text or cell of strings when multiple text is drawn.
fontSizeFont size in pt, default value is stored in
swpref.getpref('fontsize').