next up previous contents index
Next: 5.1.3 Cartesian Power projection Up: 5.1 Cartesian Transformations Previous: 5.1.1.3 Calendar time coordinates   Contents   Index


5.1.2 Cartesian Logarithmic projection

Figure 5.4: Logarithmic transformation of $x$-coordinates.
\includegraphics[]{eps/GMT_log}

The log$_{10}$ transformation is simply $u' = a \log_{10}(u) + b$ and is selected by appending an l (lower case L) immediately following the scale (or axis length) value. Hence, to produce a plot in which the x-axis is logarithmic (the y-axis remains linear, i.e., a semilog plot), try





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 -Gblack -W -O -H sqrt.d10 >> GMT_log.ps





Note that if x- and y-scaling are different and a log$_{10}$-log$_{10}$ plot is desired, the l must be appended twice: Once after the x-scale (before the /) and once after the y-scale.


next up previous contents index
Next: 5.1.3 Cartesian Power projection Up: 5.1 Cartesian Transformations Previous: 5.1.1.3 Calendar time coordinates   Contents   Index
Paul Wessel 2006-01-01