[R] par("yaxp") linear versus log tick mark coordinates

Al Piszcz apiszcz at solarrain.com
Sat Mar 27 12:54:57 CET 2004


As a linear axis I obtain the correct number of intervals
for the tick marks.


> source("test-lin.r")
> par("yaxp")
[1]     0 20000     4


However log returns 1?

> source("test-log.r")
> par("yaxp")
[1]     1 10000     1
>

I'll use log10(par("yaxp")[2]) for now.
I was wondering why '1' is returned instead of 4.

Thx.




More information about the R-help mailing list