<!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.4.3.3 Cartesian log axes</TITLE> <META NAME="description" CONTENT="4.4.3.3 Cartesian log axes"> <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="node44.html"> <LINK REL="previous" HREF="node42.html"> <LINK REL="up" HREF="node40.html"> <LINK REL="next" HREF="node44.html"> </HEAD> <BODY bgcolor="#ffffff"> <!--Navigation Panel--> <A NAME="tex2html3166" HREF="node44.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html3160" HREF="node40.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html3154" HREF="node42.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html3162" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html3164" HREF="node256.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html3167" HREF="node44.html">4.4.3.4 Cartesian exponential axes</A> <B> Up:</B> <A NAME="tex2html3161" HREF="node40.html">4.4.3 Map frame and</A> <B> Previous:</B> <A NAME="tex2html3155" HREF="node42.html">4.4.3.2 Cartesian linear axes</A> <B> <A NAME="tex2html3163" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html3165" HREF="node256.html">Index</A></B> <BR> <BR> <!--End of Navigation Panel--> <H3><A NAME="SECTION001243300000000000000"> 4.4.3.3 Cartesian log<IMG WIDTH="17" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="img2.png" ALT="$_{10}$"> axes</A> </H3> <A NAME="18660"></A> <A NAME="17681"></A> <A NAME="18661"></A> <A NAME="17683"></A> <P> Due to the logarithmic nature of annotation spacings, the <I>stride</I> parameter takes on specific meanings. The following concerns are specific to log axes: <P> <OL> <LI><I>stride</I> must be 1, 2, 3, or a negative integer <IMG WIDTH="24" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="img49.png" ALT="$-n$">. Annotations/ticks will then occur at 1, 1-2-5, or 1,2,3,4,...,9, respectively, for each magnitude range. For <IMG WIDTH="24" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="img49.png" ALT="$-n$"> the annotations will take place every <I>n</I>'th magnitude. <P> </LI> <LI>Append <B>l</B> to <I>stride</I>. Then, log<IMG WIDTH="17" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="img2.png" ALT="$_{10}$"> of the annotation is plotted at every integer log<IMG WIDTH="17" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="img2.png" ALT="$_{10}$"> value (e.g., <IMG WIDTH="54" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="img50.png" ALT="$x = 100$"> will be annotated as ``2'') [Default annotates <IMG WIDTH="11" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="img4.png" ALT="$x$"> as is]. <P> </LI> <LI>Append <B>p</B> to <I>stride</I>. Then, annotations appear as 10 raised to log<IMG WIDTH="17" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="img2.png" ALT="$_{10}$"> of the value (e.g., <IMG WIDTH="36" HEIGHT="35" ALIGN="MIDDLE" BORDER="0" SRC="img51.png" ALT="$10^{-5}$">). <P> </LI> </OL> <P> <DIV ALIGN="CENTER"><A NAME="fig:GMT_-B_log"></A><A NAME="19002"></A> <TABLE> <CAPTION ALIGN="BOTTOM"><STRONG>Figure 4.9:</STRONG> Logarithmic projection axis using separate values for annotation, frame, and grid intervals. (top) Here, we have chosen to annotate the actual values. Interval = 1 means every whole power of 10, 2 means 1, 2, 5 times powers of 10, and 3 means every 0.1 times powers of 10. We used <B>-R</B>1/1000/0/1 <B>-JX</B>3l/0.4 <B>-Ba</B>1<B>f</B>2<B>g</B>3. (middle) Here, we have chosen to annotate log<IMG WIDTH="17" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="img2.png" ALT="$_{10}$"> of the actual values, with <B>-Ba</B>1<B>f</B>2<B>g</B>3<B>l</B>. (bottom) We annotate every power of 10 using log<IMG WIDTH="17" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="img2.png" ALT="$_{10}$"> of the actual values as exponents, with <B>-Ba</B>1<B>f</B>2<B>g</B>3<B>p</B>.</CAPTION> <TR><TD> <DIV ALIGN="CENTER"><IMG WIDTH="374" HEIGHT="291" ALIGN="BOTTOM" BORDER="0" SRC="img52.png" ALT="\includegraphics{scripts/GMT_-B_log}"></DIV></TD></TR> </TABLE> </DIV> <P> <A NAME="17713"></A> <A NAME="17714"></A> <A NAME="17715"></A> <HR> <!--Navigation Panel--> <A NAME="tex2html3166" HREF="node44.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html3160" HREF="node40.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html3154" HREF="node42.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html3162" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html3164" HREF="node256.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html3167" HREF="node44.html">4.4.3.4 Cartesian exponential axes</A> <B> Up:</B> <A NAME="tex2html3161" HREF="node40.html">4.4.3 Map frame and</A> <B> Previous:</B> <A NAME="tex2html3155" HREF="node42.html">4.4.3.2 Cartesian linear axes</A> <B> <A NAME="tex2html3163" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html3165" HREF="node256.html">Index</A></B> <!--End of Navigation Panel--> <ADDRESS> Paul Wessel 2010-07-14 </ADDRESS> </BODY> </HTML>