Next: 1.6.1.1 Options for log Up: 1.6 GMT Common Command Previous: 1.6 GMT Common Command Contents Index

## 1.6.1 The -B option

This is by far the most complicated option in GMT, but most examples of its usage are actually quite simple. Given as -B xinfo[/yinfo][:."title string":][Ww][Ee][Ss][Nn], this switch specifies a map boundary to be plotted by using the selected tick-mark intervals. The xinfo and yinfo strings are of the form

[a]tick[mc][f tick[mc]][g tick[mc]][lp][:"axis label":][:,"unit label":]

where a, f, and g stand for annotation, frame, and grid interval. The mc indicates minutes (m) or seconds (c)1.1. By default, all 4 boundaries are plotted (denoted W, E, S, N). To change this selection, append the codes for those you want (e.g., WSn). Upper case (e.g., W) will annotate in addition to draw axis/tick-marks. The title, if given, will appear centered above the plot1.2.

Figure: Geographic map border using separate selections for annotation, frame, and grid intervals. Formatting of the annotation is controlled by the parameter DEGREE_FORMAT in your .gmtdefaults file.

Figure 1.6: Linear Cartesian projection axis. Long tickmarks accompany annotations, shorter ticks indicate frame interval. The axis label is optional. We used -R0/12/0/1 -JX3/0.4 -Ba4f2g1:Frequency::,%:.

Subsections

- 1.6.1.1 Options for log axes
- 1.6.1.2 Options for exponential axes

Next: 1.6.1.1 Options for log Up: 1.6 GMT Common Command Previous: 1.6 GMT Common Command Contents Index