Sophie

Sophie

distrib > Fedora > 13 > x86_64 > media > updates > by-pkgid > bde97f1793fb4b5ac4b6e6950d3353e2 > files > 707

GMT-doc-4.5.6-1.fc13.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<!--Converted with LaTeX2HTML 2002-2-1 (1.71)
original version by:  Nikos Drakos, CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>4.1 GMT units</TITLE>
<META NAME="description" CONTENT="4.1 GMT units">
<META NAME="keywords" CONTENT="GMT_Docs">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="GMT_Docs.css">

<LINK REL="next" HREF="node35.html">
<LINK REL="previous" HREF="node33.html">
<LINK REL="up" HREF="node33.html">
<LINK REL="next" HREF="node35.html">
</HEAD>

<BODY  bgcolor="#ffffff">
<!--Navigation Panel-->
<A NAME="tex2html3089"
  HREF="node35.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html3083"
  HREF="node33.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html3077"
  HREF="node33.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html3085"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html3087"
  HREF="node258.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html3090"
  HREF="node35.html">4.2 GMT defaults</A>
<B> Up:</B> <A NAME="tex2html3084"
  HREF="node33.html">4. General features</A>
<B> Previous:</B> <A NAME="tex2html3078"
  HREF="node33.html">4. General features</A>
 &nbsp; <B>  <A NAME="tex2html3086"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html3088"
  HREF="node258.html">Index</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H1><A NAME="SECTION001210000000000000000">
4.1 </A><A NAME="tex2html1133"
  HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> units
</H1>
<A NAME="17762"></A>
<A NAME="17763"></A>
<A NAME="17764"></A>

<P>
<A NAME="tex2html1137"
  HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> programs can accept dimensional quantities in <B>c</B>m, <B>i</B>nch,
<B>m</B>eter, or <B>p</B>oint (1/72 of an inch)<A NAME="tex2html1135"
  HREF="footnode.html#foot17769"><SUP>4.1</SUP></A>.  There are two ways to ensure that <A NAME="tex2html1138"
  HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> understands
which unit you intend to use.

<P>

<OL>
<LI>Append the desired unit to the dimension you supply.  This
way is explicit and clearly communicates what you intend, e.g.,
<B>-X</B>4<B>c</B> means the length being passed to the <B>-X</B> switch is 4 cm.

<P>
</LI>
<LI>Set the parameter <B>MEASURE_UNIT</B> to the desired unit.  Then, all
dimensions without explicit unit will be interpreted accordingly.

<P>
</LI>
</OL>

<P>
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.
<A NAME="17776"></A>
<A NAME="17777"></A>
<A NAME="17778"></A>

<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html3089"
  HREF="node35.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html3083"
  HREF="node33.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html3077"
  HREF="node33.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html3085"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html3087"
  HREF="node258.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html3090"
  HREF="node35.html">4.2 GMT defaults</A>
<B> Up:</B> <A NAME="tex2html3084"
  HREF="node33.html">4. General features</A>
<B> Previous:</B> <A NAME="tex2html3078"
  HREF="node33.html">4. General features</A>
 &nbsp; <B>  <A NAME="tex2html3086"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html3088"
  HREF="node258.html">Index</A></B> 
<!--End of Navigation Panel-->
<ADDRESS>
Paul Wessel
2011-02-27
</ADDRESS>
</BODY>
</HTML>