set map

This command controls the appearance of the map lines.

Syntax

set map auto
OR
set map color <style <thickness>>

The color argument may be one of the 16 GrADS default colors or a new color defined with set rgb.

Options for style are:
     1 - solid
     2 - long dash
     3 - short dash
     4 - long dash, short dash
     5 - dotted
     6 - dot dash
     7 - dot dot dash

The thickness option must be an integer in the range of 1 to 12 (or 256 for version 2.1 and later.)

Using the auto argument will give default values.
The default color is 15 (light gray), unless set ccolor has been invoked with a specific color number, in which case the map color will be 8 (orange).
The default style is 1.
The default thickness is 1 for version 2.0.2 and earlier and 3 for version 2.1 and later.

Usage Notes

For further refinement of the appearance of the map lines, use the set mpt command.

Changes to the map characteristics 'stick' until reset by a new execution of set map, or when a reset or reinit command is issued.

When using GrADS version 2.0.2 and earlier, for the X window display and the image output (e.g. PNG), a thickness setting between 1 and 5 will result in map lines approximately one pixel wide; a thickness between 6 and 11 will result in map lines two pixels wide, and a thickness of 12 will give map lines approximately three pixels wide. For the vector graphics output (e.g. PostScript and Encapsulated PostScript) the map line thickness will increase with each increment in the thickness value.

If using GrADS version 2.1 and later with the Cairo graphics library enabled, then each thickness setting will increment the map line thickness, for the X window display and all hardcopy output formats.

The default line widths for thickness settings between 1 and 12 are: 0.6, 0.8, 1.0, 1.25, 1.5, 1.75, 2.0, 2.2, 2.4, 2.6, 2.8, 3.0. The units (pixels or points) will depend on the surface being drawn to. In GrADS version 2.1 and later, there is a new command, set lwid, that allows the user to define a new line thickness setting if the 12 default widths are unsatisfactory.