<!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>5.1.2 Cartesian logarithmic projection</TITLE> <META NAME="description" CONTENT="5.1.2 Cartesian logarithmic projection"> <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="node83.html"> <LINK REL="previous" HREF="node78.html"> <LINK REL="up" HREF="node77.html"> <LINK REL="next" HREF="node83.html"> </HEAD> <BODY bgcolor="#ffffff"> <!--Navigation Panel--> <A NAME="tex2html3721" HREF="node83.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html3715" HREF="node77.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html3709" HREF="node81.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html3717" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html3719" HREF="node256.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html3722" HREF="node83.html">5.1.3 Cartesian power projection</A> <B> Up:</B> <A NAME="tex2html3716" HREF="node77.html">5.1 Cartesian transformations</A> <B> Previous:</B> <A NAME="tex2html3710" HREF="node81.html">5.1.1.3 Calendar time coordinates</A> <B> <A NAME="tex2html3718" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html3720" HREF="node256.html">Index</A></B> <BR> <BR> <!--End of Navigation Panel--> <H2><A NAME="SECTION001312000000000000000"></A> <A NAME="21033"></A> <A NAME="21034"></A> <A NAME="21035"></A> <BR> 5.1.2 Cartesian logarithmic projection </H2> <P> <DIV ALIGN="CENTER"><A NAME="fig:GMT_log"></A><A NAME="21195"></A> <TABLE> <CAPTION ALIGN="BOTTOM"><STRONG>Figure 5.4:</STRONG> Logarithmic transformation of <IMG WIDTH="11" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="img4.png" ALT="$x$">-coordinates.</CAPTION> <TR><TD> <DIV ALIGN="CENTER"><IMG WIDTH="391" HEIGHT="209" ALIGN="BOTTOM" BORDER="0" SRC="img98.png" ALT="\includegraphics{scripts/GMT_log}"></DIV></TD></TR> </TABLE> </DIV> <P> The log<IMG WIDTH="17" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="img2.png" ALT="$_{10}$"> transformation is simply <!-- MATH $u' = a \log_{10}(u) + b$ --> <IMG WIDTH="123" HEIGHT="32" ALIGN="MIDDLE" BORDER="0" SRC="img99.png" ALT="$u' = a \log_{10}(u) + b$"> and is selected by appending an <B>l</B> (lower case L) immediately following the scale (or axis length) value. Hence, to produce a plot in which the <I>x</I>-axis is logarithmic (the <I>y</I>-axis remains linear, i.e., a semi-log plot), try <P> <BR CLEAR="ALL"> <HR> <BR> <PRE>psxy -R1/100/0/10 -Jx1.5il/0.15i -B2g3/a2f1g2WSne -Wthick,- -P -K -H sqrt.d > GMT_log.ps psxy -R -J -Ss0.075i -Gblack -W -O -H sqrt.d10 >> GMT_log.ps </PRE> <BR CLEAR="ALL"> <HR> <P> Note that if <I>x</I>- and <I>y</I>-scaling are different and a log<IMG WIDTH="17" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="img2.png" ALT="$_{10}$">-log<IMG WIDTH="17" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="img2.png" ALT="$_{10}$"> plot is desired, the <B>l</B> must be appended twice: Once after the <I>x</I>-scale (before the /) and once after the <I>y</I>-scale. <A NAME="21051"></A> <A NAME="21052"></A> <A NAME="21053"></A> <P> <HR> <!--Navigation Panel--> <A NAME="tex2html3721" HREF="node83.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html3715" HREF="node77.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html3709" HREF="node81.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html3717" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html3719" HREF="node256.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html3722" HREF="node83.html">5.1.3 Cartesian power projection</A> <B> Up:</B> <A NAME="tex2html3716" HREF="node77.html">5.1 Cartesian transformations</A> <B> Previous:</B> <A NAME="tex2html3710" HREF="node81.html">5.1.1.3 Calendar time coordinates</A> <B> <A NAME="tex2html3718" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html3720" HREF="node256.html">Index</A></B> <!--End of Navigation Panel--> <ADDRESS> Paul Wessel 2010-07-14 </ADDRESS> </BODY> </HTML>