next up previous contents index
Next: 5.1.4 Geographical linear projection Up: 5.1 Non-map Projections Previous: 5.1.2 Logarithmic projection   Contents   Index


5.1.3 Power projection

Figure 5.3: Exponential or power transformation of $x$-coordinates
\begin{figure}\centering\epsfig{figure=eps/GMT_pow.eps}\end{figure}

This projection allows us to display x$^a$ versus y$^b$. While a and b can be any values, we will select a = 0.5 and b = 1 which means we will plot y versus $\sqrt{x}$. We indicate this scaling by appending a p (lower case P) followed by the desired exponent, in our case 0.5. Since b = 1 we do not need to specify p1 since it is identical to the linear scaling. Thus our command becomes





#!/bin/sh
#    $Id: GMT_pow.sh,v 1.1 2001/03/21 04:10:21 pwessel Exp $
#

psxy -R0/100/0/10 -Jx0.3ip0.5/0.15i -Ba1p/a2f1WSne -W1p -P -K sqrt.d > GMT_pow.ps
psxy -R -Jx -Sc0.075i -G255 -W -O sqrt.d10 >> GMT_pow.ps







Paul Wessel 2001-04-18