<!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. Annotation of Contours and ``Quoted Lines''</TITLE> <META NAME="description" CONTENT="O. Annotation of Contours and ``Quoted Lines''"> <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="node255.html"> <LINK REL="previous" HREF="node240.html"> <LINK REL="up" HREF="GMT_Docs.html"> <LINK REL="next" HREF="node242.html"> </HEAD> <BODY bgcolor="#ffffff"> <!--Navigation Panel--> <A NAME="tex2html6163" HREF="node242.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html6157" HREF="GMT_Docs.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html6151" HREF="node240.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html6159" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html6161" HREF="node258.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html6164" HREF="node242.html">O.1 Label Placement</A> <B> Up:</B> <A NAME="tex2html6158" HREF="GMT_Docs.html">GMT - Technical Reference</A> <B> Previous:</B> <A NAME="tex2html6152" HREF="node240.html">N. Custom Plot Symbols</A> <B> <A NAME="tex2html6160" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html6162" HREF="node258.html">Index</A></B> <BR> <BR> <!--End of Navigation Panel--> <H1><A NAME="SECTION003200000000000000000"></A> <A NAME="app:O"></A> <BR> O. Annotation of Contours and ``Quoted Lines'' </H1> <P> The <A NAME="tex2html1987" HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> programs <A NAME="tex2html1988" HREF="../man/grdcontour.html"><I><B>grdcontour</B></I></A><A NAME="33913"></A> (for data given as 2-dimensional grids) and <A NAME="tex2html1989" HREF="../man/pscontour.html"><I><B>pscontour</B></I></A><A NAME="33918"></A> (for <I>x,y,z</I> tables) allow for contouring of data sets, while <A NAME="tex2html1990" HREF="../man/psxy.html"><I><B>psxy</B></I></A><A NAME="33923"></A> and <A NAME="tex2html1991" HREF="../man/psxyz.html"><I><B>psxyz</B></I></A><A NAME="33928"></A> can plot lines based on <I>x,y</I>- and <I>x,y,z</I>-tables, respectively. In both cases it may be necessary to attach labels to these lines. Clever or optimal placements of labels is a very difficult topic, and <A NAME="tex2html1992" HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> provides several algorithms for this placement as well as complete freedom in specifying the attributes of the labels. Because of the richness of these choices we present this Appendix which summarizes the various options and gives several examples of their use. <P> <BR><HR> <!--Table of Child-Links--> <A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A> <UL> <LI><A NAME="tex2html6165" HREF="node242.html">O.1 Label Placement</A> <LI><A NAME="tex2html6166" HREF="node243.html">O.2 Label Attributes</A> <LI><A NAME="tex2html6167" HREF="node244.html">O.3 Examples of Contour Label Placement</A> <UL> <LI><A NAME="tex2html6168" HREF="node245.html">O.3.1 Equidistant labels</A> <LI><A NAME="tex2html6169" HREF="node246.html">O.3.2 Fixed number of labels</A> <LI><A NAME="tex2html6170" HREF="node247.html">O.3.3 Prescribed label placements</A> <LI><A NAME="tex2html6171" HREF="node248.html">O.3.4 Label placement at simple line intersections</A> <LI><A NAME="tex2html6172" HREF="node249.html">O.3.5 Label placement at general line intersections</A> </UL> <BR> <LI><A NAME="tex2html6173" HREF="node250.html">O.4 Examples of Label Attributes</A> <UL> <LI><A NAME="tex2html6174" HREF="node251.html">O.4.1 Label placement by along-track distances, 1</A> <LI><A NAME="tex2html6175" HREF="node252.html">O.4.2 Label placement by along-track distances, 2</A> <LI><A NAME="tex2html6176" HREF="node253.html">O.4.3 Using a different data set for labels</A> </UL> <BR> <LI><A NAME="tex2html6177" HREF="node254.html">O.5 Putting it all together</A> </UL> <!--End of Table of Child-Links--> <HR> <!--Navigation Panel--> <A NAME="tex2html6163" HREF="node242.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html6157" HREF="GMT_Docs.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html6151" HREF="node240.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html6159" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html6161" HREF="node258.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html6164" HREF="node242.html">O.1 Label Placement</A> <B> Up:</B> <A NAME="tex2html6158" HREF="GMT_Docs.html">GMT - Technical Reference</A> <B> Previous:</B> <A NAME="tex2html6152" HREF="node240.html">N. Custom Plot Symbols</A> <B> <A NAME="tex2html6160" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html6162" HREF="node258.html">Index</A></B> <!--End of Navigation Panel--> <ADDRESS> Paul Wessel 2011-02-27 </ADDRESS> </BODY> </HTML>