[R] Graphics Reciprocal labeling

Hurr hill0093 at umn.edu
Sun Oct 30 20:51:13 CET 2011


I suppose I wasn't clear enough.
For some purposes, I want to label the horizontal axis like the first
label-line below.
It separates the longer periods better even though it squashes the shorter
ones.
The real scale for the corresponding plotted data is the second label-line.
The same-range linear-in-frequency horizontal scale would be the third
label-line,
giving the period reciprocal labeling in the fourth label-line.

  |------|------|------|------|------|------|------|------|------|------|
100.0  50.00  25.00  12.50  6.250  3.125  1.563  .7813  .3906  .1953  .0977 
period
.0100  .0200  .0400  .0800  .1600  .3200  .6400  1.280  2.560  5.120  10.24 
frequency
.0100  1.033  2.056  3.079  4.102  5.125  6.148  7.171  8.194  9.217  10.24 
frequency
100.0  .9681  .4864  .3248  .2438  .1951  .1627  .1395  .1220  .1085  .0977 
period

I will sometimes want to label the axis nonequidistantly like this (maybe
manually)
  |------|------|-------|------|-------|------|------|------|-----------|
100yr   50yr   25yr     10yr     5yr      2mo      1yr      6mo    3mo        
35da

Can this scale be done, and how?

--
View this message in context: http://r.789695.n4.nabble.com/Graphics-Reciprocal-labeling-tp3949054p3953895.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list