Next: 4.2 GMT defaults
Up: 4. General features
Previous: 4. General features
  Contents
  Index
GMT programs can accept dimensional quantities in cm, inch,
meter, or point. There are two ways to ensure that GMT understands
which unit you intend to use.
- Append the desired unit to the dimension you supply. This
way is explicit and clearly communicates what you intend, e.g.,
-X4c means 4 cm.
- Set the parameter MEASURE_UNIT to the desired unit. Then, all
dimensions without explicit unit will be interpreted accordingly.
The latter method is less secure as other users may have a different unit
set and your script may not work as intended. We therefore recommend
you always supply the desired unit explicitly.
Paul Wessel
2001-04-18