SCAL (Draw a scale bar)

The SCAL command draws a scale bar and/or the map scale.

Command Syntax:

SCAL refp,xoff,yoff,scale,unit,length,nsec,dsize,sopt,bwid

att,height,width,space,slant,font 

Command Parameters: 

refp

Reference point to which to refer the following offset.

xoff,yoff

Location relative to the reference point at which to place the scale bar. The scale bar is centered on this position.

scale

The map scale (i.e. 50000 for 150000, 2400 for 1 inch = 200 feet). The default is taken from an MDF file defined by the MDFF command.

unit

The units in which to report the scale

mt:

Metres

km:

Kilometres

ft:

Feet

kf:

Kilofeet

mi:

Miles

The default is determined from the unit factor (UFAC) reported in the MDF file and can be changed to a different language by setting the desired translation in the Mapplot_Translations.csv file in your %USERPROFILE%\Documents\Geosoft\Desktop Applications \csv directory.

length

The maximum length allowed for the bar. The default is 10 cm.

nsec

Number of major divisions in the bar. The bar will divide the left-most division into five sub-divisions. By default this is chosen automatically.

dsize

The length of each major bar division in ground units defined by the unit parameter above. By default this is chosen automatically.

Note: If nsec and dsize are specified, length is ignored.

sopt

Scale options

0

Plot the scale only (no bar).

1

Plot the bar only (no scale).

2

Plot the bar and the scale (default).

bwid

The width of the bar. The default is 0.18 cm.

Sub-Command Parameters:

att

Attribute for text.

height

Character height.

width

Character width.

space

Character spacing.

slant

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

font

Text font (default is current font). Refer to the FONT command for descriptions of the available fonts.

Example
MDFF m1

SCAL 2,0,10

A scale bar based on the scale defined in M1.MDF is plotted 10 cm above the bottom center of the map.

Notes:

The unit label and the text "Scale" can be changed to a different language by setting the desired translation in the Mapplot_Translations.csv file in your %USERPROFILE%\Documents\Geosoft\Desktop Applications \csv directory.

This command is part of the MAPPLOT GX.