| Mapping Toolbox | Search  Help Desk |
| tagm | Examples See Also |
Assign a name to a graphics object in its tag property
Syntax
tagm(hndl,tagstr)
Description
tagm(hndl,tagstr) sets theTag property of each object designated in the vector of handles hndl to the associated string (row) of the matrix of strings tagstr.
This property is recognizable to the namem and handlem functions.
Examples
Normally, a plotted line has a name of'line':
axesm miller lats = [3 2 1 1 2 3]; longs = [7 8 9 7 8 9]; h=plotm(lats,longs); untagged = namem(h) untagged = lineThe
tagm command can rename it:
tagm(h,'testpath'); tagged = namem(h) tagged = testpath
See Also
clma |
Clear current map |
clmo |
Clear specified graphics objects |
handlem |
Get handles of displayed graphics objects |
hidem |
Hide specified graphics objects |
namem |
Determine names of valid graphics objects |
showm |
Show specified graphics objects |