GeogrCoordLabel

Function to label axis with geographical coordinates.
1.8K Downloads
Updated 2 Aug 2005

View License

GeogrCoordLabel(type, increment, varargin)

Function for labeling the current axis with geographic cordinate labels. The current axis range is used.

Parameters
type:
('deg', 'min' or 'sec')
increment:
increment between two labels, dependent on choice for type

varargin:
'label', var_label(e.g. 'NSEW')
Optional argument for specifying NSEW-style labels.

'origin', var_origin (e.g. [20 30])
Specify where to start labeling.

Examples and further help are given in the help section of the function (type 'help GeogrCoordLabel').

I've just been annoyed by axis labels like: 101°59'60''or alike in ArcMap.

Hope it helps

Sebinator

Cite As

Sebastian Hölz (2024). GeogrCoordLabel (https://www.mathworks.com/matlabcentral/fileexchange/6387-geogrcoordlabel), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

V 1.1:
- Included Switch for specifying origin for labeling.
- Fixed format (2 digits) output for min and sec.
- Minor changes.