[R] Intentional behaviour of par()$usr?

BXC (Bendix Carstensen) bxc at novonordisk.com
Tue Jan 9 17:36:27 CET 2001


I had some trouble getting some text in the right place on a 
plot with logartimic y-axis, until I discovered:

> plot(NA, xlim=1:2, ylim=c(5,500), log="y")
> par()$usr
[1] 0.96000 2.04000 0.61897 2.77897
> 10^(par()$usr[3:4])
[1]   4.158819 601.132217

Is this a bug or a facility? 
It is not mentioned under par -> usr in the manual.

Bendix

----------------------
Bendix Carstensen
Senior Statistician
Steno Diabetes Centre
Niels Steensens Vej 2
DK-2820 Gentofte
Denmark
tel: +45 44 43 87 38
mob: +45 28 25 87 38
fax: +45 44 43 73 13
bxc at novo.dk
www.biostat.ku.dk/~bxc
----------------------


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list