Mapping Toolbox
  Go to function:
    Search    Help Desk 
gtextm    Examples   See Also

Place text on map using mouse

Syntax

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 command.

Example

Create map axes:

Click inside the frame, and the text will appear.

See Also

axesm
Create map axes object
textm
Project text objects


[ Previous | Help Desk | Next ]