| Mapping Toolbox | Search  Help Desk |
| rotatetext | Examples See Also |
Rotate text to the projected graticule
Syntax
rotatetext
rotatetext(objects)
rotatetext(objects,direction)
Description
rotatetext rotates displayed text objects to account for the curvature of the graticule. The objects are selected interactively from a graphical user interface. rotatetext(objects) rotates the selected objects.objects may be a name string recognized by handlem, or a vector of handles to displayed text objects.
rotatetext(objects,'inverse') removes the rotation added by an earlier use of rotatetext. If omitted, 'forward' is assumed.
Examples
Add text to a map, and rotate the text to the graticule.worldmap('usa','lineonly')h = displaym(worldlo('POtext'));trimcart(h)rotatetext(h)
Remarks
Meridian and parallel labels can be rotated automatically by setting the map axesLabelRotation property to 'on'.
See Also
vfwdtran |
Transforms vector azimuths to a projection space angle |
vinvtran |
Transforms vector azimuths from a projection space angle |