ANOX (annotate the X-axis)

Annotate the X axis of a rectangular area on the map.

Command Syntax:

ANOX refp,x1,y1,x2,y2,asep,tick,side,sense,orient,pref,im,postoff,dec,edge

att,height,width,space,slant,font 

Command Parameters: 

refp

Defines the rectangular area relative to this reference point. The default refers to point 0, the ground coordinate system.

x1,y1

Location of bottom left-hand corner of area to annotate. The default is the plot window defined in the MDF file by the MDFF command.

x2,y2

Location of upper right hand corner of area to annotate. The default is the plot window defined in the MDF file by the MDFF command.

asep

Separation between annotated points. Annotation will either start at x1 or at the first even multiple of asep (depending on the setting of im). By default, a reasonable value is chosen.

tick

Length of label tick in map units. Set tick to 0 to not plot ticks. The default is 0.4 cm. A positive tick size will place tick inside map border and a negative tick size places tick outside map border.

side

Side of the X axis to annotate

-1    Annotate bottom side only.

0     annotate both top and bottom sides (Default).

1     annotate top side only.

sense

The compass direction of the +X axis of the SRS. Based on this direction, a compass direction suffix is added to the annotated number

0     X axis points East (Default).

1     X axis points North.

2     X axis points West.

3     X axis points South.

-1    Do not add compass direction.

orient

Orientation of the annotations

-1    Annotate with tops of numbers pointing left.

0     Annotate horizontally. (Default)

1     Annotate with tops of numbers pointing right.

pref

A text string prefix to add to the beginning of each annotation. The default is no prefix.

im

Annotation increment of asep

0     Only even multiples of asep are annotated.

1     Annotations start at x1.

postoff

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

dec

Number of digits after decimal. Defaults determined from asep.

edge

Location of labels

 

0     Center all labels on annotation tick.

 

1     Center labels on ticks, but right or left justify labels at the

        edges of the data window. This prevents overlap of the X

        and Y annotations by not extending past the edges of the

        data.

Sub-Command Parameters:

att

Attribute for drawing annotations. The current attribute is used to draw ticks.

height

Character height in map units. (default 2.5mm)

width

Character width in map units. (default 2.5mm)

space

Character spacing in map units. (default 2.5mm)

slant

Slant of the characters in degrees from vertical. The default is the last slant specified.

font

Text font.

  • Attribute overrides can not be used.
  • The ANOX command replaces the older ANNX command. ANNX syntax is still supported by MAPPLOT, but its use is discouraged.
  • Example:
    MDFF M1

    ANOX

    This will annotate both the top and bottom edges of the valid data area defined by the MDF file named M1.MDF.

  • This command is part of the MAPPLOT GX.