Set or query geographic tick label format
geotickformat sets the format of the
latitude and longitude tick labels for the current geographic axes. When you use this
syntax, you do not need to enclose the fmtfmt argument in quotes. For
example, the command geotickformat dd sets the tick label format to
decimal degrees.
geotickformat( sets the tick label
format for the current geographic axes. When you use this syntax, enclose the
fmt)fmt input in single or double quotes, for example
geotickformat('dd').
returns the
tick label format for the current geographic axes.tickLabelFormat = geotickformat
returns the tick label format for the geographic axes specified by
tickLabelFormat = geotickformat(gx)gx.
The value returned from geotickformat is the value of the
TickLabelFormat property of the geographic axes. You can override
this format value on an individual axis by setting the TickLabelFormat
property of the GeographicRuler object associated with the axis. In
this case, the value returned by geotickformat does not match the
format value of the axis or the actual display. Setting the
TickLabelFormat of an individual axis is not recommended.
[1] Alignment of boundaries and region labels are a presentation of the feature provided by the data vendors and do not imply endorsement by MathWorks®.