1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--Converted with LaTeX2HTML 99.2beta8 (1.46)
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 Logarithmic projection</TITLE>
<META NAME="description" CONTENT="5.1.2 Logarithmic projection">
<META NAME="keywords" CONTENT="GMT_Docs">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="LaTeX2HTML v99.2beta8">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="GMT_Docs.css">
<LINK REL="next" HREF="node38.html">
<LINK REL="previous" HREF="node36.html">
<LINK REL="up" HREF="node35.html">
<LINK REL="next" HREF="node38.html">
</HEAD>
<BODY bgcolor="#ffffff">
<!--Navigation Panel-->
<A NAME="tex2html1511"
HREF="node38.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.gif"></A>
<A NAME="tex2html1505"
HREF="node35.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.gif"></A>
<A NAME="tex2html1499"
HREF="node36.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.gif"></A>
<A NAME="tex2html1507"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.gif"></A>
<A NAME="tex2html1509"
HREF="node149.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.gif"></A>
<BR>
<B> Next:</B> <A NAME="tex2html1512"
HREF="node38.html">5.1.3 Power projection</A>
<B> Up:</B> <A NAME="tex2html1506"
HREF="node35.html">5.1 Non-map Projections</A>
<B> Previous:</B> <A NAME="tex2html1500"
HREF="node36.html">5.1.1 Cartesian Linear Projection</A>
  <B> <A NAME="tex2html1508"
HREF="node1.html">Contents</A></B>
  <B> <A NAME="tex2html1510"
HREF="node149.html">Index</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
<H2><A NAME="SECTION001312000000000000000"></A>
<A NAME="5901"></A>
<A NAME="5902"></A>
<BR>
5.1.2 Logarithmic projection
</H2>
<P>
<P></P>
<DIV ALIGN="CENTER"><A NAME="fig:GMT_log"></A><A NAME="5911"></A>
<TABLE>
<CAPTION ALIGN="BOTTOM"><STRONG>Figure 5.2:</STRONG>
Logarithmic transformation of <IMG
WIDTH="11" HEIGHT="29" ALIGN="MIDDLE" BORDER="0"
SRC="img1.gif"
ALT="$x$">-coordinates</CAPTION>
<TR><TD><IMG
WIDTH="392" HEIGHT="210" BORDER="0"
SRC="img57.gif"
ALT="\begin{figure}\centering\epsfig{figure=eps/GMT_log.eps}\end{figure}"></TD></TR>
</TABLE>
</DIV><P></P>
<P>
The log<IMG
WIDTH="17" HEIGHT="29" ALIGN="MIDDLE" BORDER="0"
SRC="img9.gif"
ALT="$_{10}$"> transformation 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), try
<P>
<P>
<BR>
<P>
<BR CLEAR="ALL">
<HR>
<BR>
<PRE>
#!/bin/sh
# $Id: GMT_log.sh,v 1.1 2001/03/21 04:10:21 pwessel Exp $
#
psxy -R1/100/0/10 -Jx1.5il/0.15i -B2g3/a2f1g2WSne -W1t2_2:0p -P -K -H sqrt.d > GMT_log.ps
psxy -R -Jx -Ss0.075i -G0 -W -O -H sqrt.d10 >> GMT_log.ps
</PRE>
<P>
<BR>
<BR>
<P>
<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="img9.gif"
ALT="$_{10}$">-log<IMG
WIDTH="17" HEIGHT="29" ALIGN="MIDDLE" BORDER="0"
SRC="img9.gif"
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="5971"></A>
<A NAME="5972"></A>
<P>
<BR><HR>
<ADDRESS>
Paul Wessel
2001-04-18
</ADDRESS>
</BODY>
</HTML>
|