Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > os > by-pkgid > 4b194777eaf705e440bb2ce282d32772 > files > 702

GMT-doc-4.5.3-3.fc14.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="node33.html">
<LINK REL="previous" HREF="node31.html">
<LINK REL="up" HREF="node31.html">
<LINK REL="next" HREF="node33.html">
</HEAD>

<BODY  bgcolor="#ffffff">
<!--Navigation Panel-->
<A NAME="tex2html2987"
  HREF="node33.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html2981"
  HREF="node31.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html2975"
  HREF="node31.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html2983"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html2985"
  HREF="node256.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html2988"
  HREF="node33.html">4.2 GMT defaults</A>
<B> Up:</B> <A NAME="tex2html2982"
  HREF="node31.html">4. General features</A>
<B> Previous:</B> <A NAME="tex2html2976"
  HREF="node31.html">4. General features</A>
 &nbsp; <B>  <A NAME="tex2html2984"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html2986"
  HREF="node256.html">Index</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H1><A NAME="SECTION001210000000000000000">
4.1 </A><A NAME="tex2html1063"
  HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> units
</H1>
<A NAME="17261"></A>
<A NAME="17262"></A>
<A NAME="17263"></A>

<P>
<A NAME="tex2html1067"
  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="tex2html1065"
  HREF="footnode.html#foot17268"><SUP>4.1</SUP></A>.  There are two ways to ensure that <A NAME="tex2html1068"
  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="17275"></A>
<A NAME="17276"></A>
<A NAME="17277"></A>

<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html2987"
  HREF="node33.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html2981"
  HREF="node31.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html2975"
  HREF="node31.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html2983"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html2985"
  HREF="node256.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html2988"
  HREF="node33.html">4.2 GMT defaults</A>
<B> Up:</B> <A NAME="tex2html2982"
  HREF="node31.html">4. General features</A>
<B> Previous:</B> <A NAME="tex2html2976"
  HREF="node31.html">4. General features</A>
 &nbsp; <B>  <A NAME="tex2html2984"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html2986"
  HREF="node256.html">Index</A></B> 
<!--End of Navigation Panel-->
<ADDRESS>
Paul Wessel
2010-07-14
</ADDRESS>
</BODY>
</HTML>