log x-axis scale

Heiner Körnich heiner at MISU.SU.SE
Thu Aug 11 02:54:30 EDT 2005


Hi Matt,

maybe you could set "XDEF number LEVELS values" in ctl. But I'd rather
reorder the data and do what you have suggested. You get the log-log by
plotting log10(amplitude).

Cheers,
Heiner

Matt Reszka wrote:

> Dear GrADS Users,
>
> This does not seem to be addressed in the docs or archive. Is there a way
> to impose a log scaling on the horizontal axis in a line plot? I have a
> data set of Fourier power versus frequency, ordered so that frequency is
> the x dimension. With a lot of coding I could reorder my data to make
> frequency the z dimension and use 'set zlog on' with 'set xyrev on'.
> However, if I wanted a log-log plot, even this approach would not work.
>
> If anyone has any advice, I would appreciate it.
>
> -Matt Reszka
>
> Atmospheric Physics Group
> Department of Physics
> University of Toronto
> 60 St. George Street
> Toronto, ON  M5S 1A7
>
>

--
Heiner Körnich
Dept. of Meteorology                    Tel:    +46 8 164333
Stockholms University
S-106 91 Stockholm, Sweden              Email:  heiner at misu.su.se



More information about the gradsusr mailing list