Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > 5764c67416561ab82b35afcf9c650e17 > files > 679

GMT-doc-4.5.2-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>O.3.2 Fixed number of labels</TITLE>
<META NAME="description" CONTENT="O.3.2 Fixed number of labels">
<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="node244.html">
<LINK REL="previous" HREF="node242.html">
<LINK REL="up" HREF="node241.html">
<LINK REL="next" HREF="node244.html">
</HEAD>

<BODY  bgcolor="#ffffff">
<!--Navigation Panel-->
<A NAME="tex2html6101"
  HREF="node244.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html6095"
  HREF="node241.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html6089"
  HREF="node242.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html6097"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html6099"
  HREF="node255.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html6102"
  HREF="node244.html">O.3.3 Prescribed label placements</A>
<B> Up:</B> <A NAME="tex2html6096"
  HREF="node241.html">O.3 Examples of Contour</A>
<B> Previous:</B> <A NAME="tex2html6090"
  HREF="node242.html">O.3.1 Equidistant labels</A>
 &nbsp; <B>  <A NAME="tex2html6098"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html6100"
  HREF="node255.html">Index</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H2><A NAME="SECTION003232000000000000000">
O.3.2 Fixed number of labels</A>
</H2>

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

<P>
<BR CLEAR="ALL">
<HR>
<BR>
<PRE>pscoast -R50/160/-15/15 -JM5.3i -Glightgray -A500 -K -P &gt; GMT_App_O_2.ps
grdcontour geoid.grd -J -O -B20f10WSne -C10 -A20+s8 -Gn1/1i -S10 -T:LH &gt;&gt; GMT_App_O_2.ps
</PRE>
<BR CLEAR="ALL">
<HR>
<P>
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&nbsp;<A HREF="#fig:GMT_App_O_2">O.2</A>.

<P>

<DIV ALIGN="CENTER"><A NAME="fig:GMT_App_O_2"></A><A NAME="32922"></A>
<TABLE>
<CAPTION ALIGN="BOTTOM"><STRONG>Figure O.2:</STRONG>
Placing one label per contour that exceed 1 inch in length,
centered on the segment with <B>-Gn</B>.</CAPTION>
<TR><TD>
<DIV ALIGN="CENTER"><IMG
 WIDTH="653" HEIGHT="195" ALIGN="BOTTOM" BORDER="0"
 SRC="img298.png"
 ALT="\includegraphics{scripts/GMT_App_O_2}"></DIV></TD></TR>
</TABLE>
</DIV>

<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html6101"
  HREF="node244.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html6095"
  HREF="node241.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html6089"
  HREF="node242.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html6097"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html6099"
  HREF="node255.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html6102"
  HREF="node244.html">O.3.3 Prescribed label placements</A>
<B> Up:</B> <A NAME="tex2html6096"
  HREF="node241.html">O.3 Examples of Contour</A>
<B> Previous:</B> <A NAME="tex2html6090"
  HREF="node242.html">O.3.1 Equidistant labels</A>
 &nbsp; <B>  <A NAME="tex2html6098"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html6100"
  HREF="node255.html">Index</A></B> 
<!--End of Navigation Panel-->
<ADDRESS>
Paul Wessel
2010-01-14
</ADDRESS>
</BODY>
</HTML>