Code covered by the BSD License  

Highlights from
GeogrCoordLabel

Be the first to rate this file! 0 Downloads (last 30 days) File Size: 2.75 KB File ID: #6387

GeogrCoordLabel

by Sebastian Hölz

 

25 Nov 2004 (Updated 02 Aug 2005)

Function to label axis with geographical coordinates.

| Watch this File

File Information
Description

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

MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
06 Dec 2004

V 1.01.: Corrected spelling in argument checking section (currently Line32) from 'axis' -> 'axes'

02 Aug 2005

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

Tag Activity for this File
Tag Applied By Date/Time
gui Sebastian Hölz 22 Oct 2008 07:36:26
display Sebastian Hölz 22 Oct 2008 07:36:26
annotation Sebastian Hölz 22 Oct 2008 07:36:26
label axis geographic coordinates Sebastian Hölz 22 Oct 2008 07:36:26

Contact us at files@mathworks.com