Interactively place text annotations on a map using the gtextm
function. Call the function by specifying text and optional
properties as arguments. Then, choose a location for the text by clicking on the
map.
gtextm('Hawaii','color','r') gtextm('Tokyo') gtextm('Los Angeles')
After you place text, you can move it interactively using the selection tool in the map figure window.
To display text on a map by specifying numerical arguments, use the textm
function. For more information, see Use Geographic and Nongeographic Objects in Map Axes.