Sophie

Sophie

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

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.4.1 Label placement by along-track distances, 1</TITLE>
<META NAME="description" CONTENT="O.4.1 Label placement by along-track distances, 1">
<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="node249.html">
<LINK REL="previous" HREF="node247.html">
<LINK REL="up" HREF="node247.html">
<LINK REL="next" HREF="node249.html">
</HEAD>

<BODY  bgcolor="#ffffff">
<!--Navigation Panel-->
<A NAME="tex2html6172"
  HREF="node249.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html6166"
  HREF="node247.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html6160"
  HREF="node247.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html6168"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html6170"
  HREF="node255.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html6173"
  HREF="node249.html">O.4.2 Label placement by</A>
<B> Up:</B> <A NAME="tex2html6167"
  HREF="node247.html">O.4 Examples of Label</A>
<B> Previous:</B> <A NAME="tex2html6161"
  HREF="node247.html">O.4 Examples of Label</A>
 &nbsp; <B>  <A NAME="tex2html6169"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html6171"
  HREF="node255.html">Index</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H2><A NAME="SECTION003241000000000000000">
O.4.1 Label placement by along-track distances, 1</A>
</H2>

<P>
This example will change the orientation of labels from along-track to across-track, and
surrounds the labels with an opaque, outlined textbox so that the label is more readable.  We choose
the place the labels every 1000 km along the line and use that distance as the label.  The
labels are placed normal to the line:

<P>
<BR CLEAR="ALL">
<HR>
<BR>
<PRE>pscoast -R50/160/-15/15 -JM5.3i -Glightgray -A500 -K -P &gt; GMT_App_O_6.ps
grdcontour geoid.grd -J -O -K -B20f10WSne -C10 -A20+d+s8 -Gl50/10S/160/10S -S10 \
        -T:'-+' &gt;&gt; GMT_App_O_6.ps
psxy -R -J -O -SqD1000k:+g+LD+an+p -Wthick transect.d &gt;&gt; GMT_App_O_6.ps
</PRE>
<BR CLEAR="ALL">
<HR>
<P>

<DIV ALIGN="CENTER"><A NAME="fig:GMT_App_O_6"></A><A NAME="32964"></A>
<TABLE>
<CAPTION ALIGN="BOTTOM"><STRONG>Figure O.6:</STRONG>
Labels attributes are controlled with the arguments to the <B>-Sq</B> option.</CAPTION>
<TR><TD>
<DIV ALIGN="CENTER"><IMG
 WIDTH="653" HEIGHT="195" ALIGN="BOTTOM" BORDER="0"
 SRC="img302.png"
 ALT="\includegraphics{scripts/GMT_App_O_6}"></DIV></TD></TR>
</TABLE>
</DIV>

<P>
The composite illustration in Figure&nbsp;<A HREF="#fig:GMT_App_O_6">O.6</A> shows the new effects.  Note that
the line connecting the extrema does not end exactly at the `-' and `+' symbols.  This is
because the placements of those symbols are based on the mean coordinates of the contour and
not the locations of the (local or global) extrema.

<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html6172"
  HREF="node249.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html6166"
  HREF="node247.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html6160"
  HREF="node247.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html6168"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html6170"
  HREF="node255.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html6173"
  HREF="node249.html">O.4.2 Label placement by</A>
<B> Up:</B> <A NAME="tex2html6167"
  HREF="node247.html">O.4 Examples of Label</A>
<B> Previous:</B> <A NAME="tex2html6161"
  HREF="node247.html">O.4 Examples of Label</A>
 &nbsp; <B>  <A NAME="tex2html6169"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html6171"
  HREF="node255.html">Index</A></B> 
<!--End of Navigation Panel-->
<ADDRESS>
Paul Wessel
2010-01-14
</ADDRESS>
</BODY>
</HTML>