Keywords: GMT_Docs

Next: O.3.3 Prescribed label placements Up: O.3 Examples of Contour Previous: O.3.1 Equidistant labels Contents Index

## O.3.2 Fixed number of labels

We now exercise the option for specifying exactly how many labels each contour line should have:

    pscoast -R50/160/-15/15 -JM5.5i -Glightgray -A500 -K -P > GMT_App_O_2.ps
    grdcontour geoid.grd -J -O -B20f10WSne -C10 -A20+s8 -Gn1/1i -S10 -T:LH >> GMT_App_O_2.ps

By selecting only one label per contour and requiring that labels only be placed on contour lines whose length exceed 1 inch, we achieve the effect shown in Figure O.2.

Figure O.2: Placing one label per contour that exceed 1 inch in length, centered on the segment with -Gn.

Next: O.3.3 Prescribed label placements Up: O.3 Examples of Contour Previous: O.3.1 Equidistant labels Contents Index