ALON (annotate longitudes)

This command will annotate longitudes along the North and South edges of the currently defined data window. A map projection must be defined to use this command. Map projections can be defined using the PROJ command or may be defined in the MDF file read in by an MDFF command.

Command Syntax:

ALON lsep,tick,postoff,side,edge

att,height,width,space,slant,font 

Command Parameters: 

lsep

Separation in deg.mmss (decimal degrees) between annotations. If not specified, the dx separation defined by a previous GRID command will be used.

tick

The size of map edge ticks in map units. The default is 0.5cm. A negative tick size will cause ticks to be outside of the map. Ticks will be drawn in the currently defined attribute, and in the direction of longitude.

postoff

Offset of the annotation posting from the map edge. The default is 0.15 cm.

side

Side of the map to annotate

-1   Annotate the bottom edge only.

0    Annotate both the bottom and top edges.

1    Annotate the top edge only.

edge

Controls justification of annotations near the left and right edges of the data window.

0    Center all annotations.

1    Left and right justify annotations near the map edges and center all other annotations.

Sub-Command Parameters:

att

Attribute to use for annotations. Note that ticks will use the attribute defined before the ALON command.

height

Character height in map units. (default 0.25cm)

width

Character width in map units. (default same as height)

space

Character spacing in map units. (default same as height)

slant

Character slant in degrees from vertical.

font

Text font name.

Example
MDFF m1

PROJ UTM17

RECT 12

DATT ann=kt100

ALAT 2.3,0,,1,-1

ALON 2.3,0,,1

GRID -2

This will annotate longitude and latitude at the edges of the data window. The GRID command will cause a grid to be drawn, which makes edge ticks redundant, so the tick size has been set to 0.

  • This command is part of the MAPPLOT GX.