gtextm - Place text on map using mouse
Syntax
h = gtextm(string)
h = gtextm(string,PropertyName,PropertyValue,...)
Description
h = gtextm(string) places
the text object string at the position selected by mouse input. When
this function is called, the current map axes are brought up and the
cursor is activated for mouse-click position entry. The text object's
handle is returned.
h = gtextm(string,PropertyName,PropertyValue,...) allows
the specification of any properties supported by the MATLAB text function.
Example
Create map axes:
axesm('sinusoid','FEdgeColor','red')
gtextm('hello world','FontWeight','bold')Click inside the frame and the text appears.
See Also
axesm, textm
 | gshhs | | gtopo30 |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit