CHAX, CHAY (label grid cells horizontally or vertically)

These two commands label grid cells horizontally (CHAX) or vertically (CHAY) using alphanumeric characters 1,2,3,... or A,B,C,....

Command syntax:

CHAX refp,x1,y1,x2,y2,asep,side,orient,im,toffs,alphanum

att,height,width,space,slant,font 

CHAY refp,x1,y1,x2,y2,asep,side,orient,im,toffs,alphanum

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 labeled 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. This separation should be the same as the grid separation.

side

Side of area to annotate (bottom, top or both)

-1    annotate bottom side only.

0     annotate both top and bottom sides (Default).

1     annotate top side only.

orient

Orientation of annotation

-1    Annotate with tops of numbers pointing left.

0     Annotate horizontally. (Default)

1     Annotate with tops of numbers pointing right.

im

Annotation increment of asep

0     Only even multiples of asep are annotated.

1     Annotations start at x1.

toffs

Offset, in map units, from the border defined by y1,y2 at which to place the labels. The default is 0.

alphanum

Label type alpha or numeric

0     Use of 1,2,3,... to label

1     Use of A, B, C,... to label

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.
  • This command is part of the MAPPLOT GX.