5.1.2 Cartesian Logarithmic projection
Keywords: GMT_Docs

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 -coordinates.

The log transformation is simply 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 -Wthick,- -P -K -H sqrt.d > GMT_log.ps
    psxy -R -J -Ss0.075i -Gblack -W -O -H sqrt.d10 >> GMT_log.ps

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

Next: 5.1.3 Cartesian Power projection Up: 5.1 Cartesian Transformations Previous: 5.1.1.3 Calendar time coordinates Contents Index