Sophie

Sophie

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

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>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="node82.html">
<LINK REL="previous" HREF="node77.html">
<LINK REL="up" HREF="node76.html">
<LINK REL="next" HREF="node82.html">
</HEAD>

<BODY  bgcolor="#ffffff">
<!--Navigation Panel-->
<A NAME="tex2html3673"
  HREF="node82.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html3667"
  HREF="node76.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html3661"
  HREF="node80.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html3669"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html3671"
  HREF="node255.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html3674"
  HREF="node82.html">5.1.3 Cartesian power projection</A>
<B> Up:</B> <A NAME="tex2html3668"
  HREF="node76.html">5.1 Cartesian transformations</A>
<B> Previous:</B> <A NAME="tex2html3662"
  HREF="node80.html">5.1.1.3 Calendar time coordinates</A>
 &nbsp; <B>  <A NAME="tex2html3670"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html3672"
  HREF="node255.html">Index</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H2><A NAME="SECTION001312000000000000000"></A>
<A NAME="20444"></A>
<A NAME="20445"></A>
<A NAME="20446"></A>
<BR>
5.1.2 Cartesian logarithmic projection
</H2>

<P>

<DIV ALIGN="CENTER"><A NAME="fig:GMT_log"></A><A NAME="20606"></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 &gt; GMT_log.ps
psxy -R -J -Ss0.075i -Gblack -W -O -H sqrt.d10 &gt;&gt; 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="20462"></A>
<A NAME="20463"></A>
<A NAME="20464"></A>

<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html3673"
  HREF="node82.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html3667"
  HREF="node76.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html3661"
  HREF="node80.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html3669"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html3671"
  HREF="node255.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html3674"
  HREF="node82.html">5.1.3 Cartesian power projection</A>
<B> Up:</B> <A NAME="tex2html3668"
  HREF="node76.html">5.1 Cartesian transformations</A>
<B> Previous:</B> <A NAME="tex2html3662"
  HREF="node80.html">5.1.1.3 Calendar time coordinates</A>
 &nbsp; <B>  <A NAME="tex2html3670"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html3672"
  HREF="node255.html">Index</A></B> 
<!--End of Navigation Panel-->
<ADDRESS>
Paul Wessel
2010-01-14
</ADDRESS>
</BODY>
</HTML>