Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
h2. Name

*ann* — Annotation of contour lines {alias:ann}

h2. Syntax
{panel:|borderStyle=solid|borderWidth=1|bgColor=#FFFFAA}

*ann* \[ _size_ ] \[*f* _nx_ _ny_ ] ;# fast and simple annotation of line contours

{panel}

h2. Description

Annotation of contour lines. It distributes annotation numbers in an nx times ny scheme. Default is 8 x 8. A more cartographic annotation is made by the [sma] command. 

h2. Arguments

_size_ 
{indent}
Set size of annotation numbers. 
{indent}

*f* 
{indent}
Specify frequency of annotation numbers. 
{indent}

_nx_ 
{indent}
Annotation frequency in x. Default 8. 
{indent}

_ny_ 
{indent}
Annotation frequency in y. Default 8. 
{indent}

h2. Examples

h3. Ex.1:  Simple annotation of contours

{noformat:|borderWidth=1|bgColor=#eeeeee}
        # a grid is assumed to be in active workspace
        acm n 11 sma ; # color bands and spline contours
        col bla ; # black color for annotation numbers
        ann 1.4 f 7 7 ; # fast annotation
{noformat}

The above example produces this image.

!att:_img_ref^cmd_ann.png|border=1!
_Fast and simple annotation of contour map_

h2. See also

[acm - Color band mapping], [sma - Spline map]
{pagebreak}