Skip to content
Prev 43642 / 398513 Next

how to change one of the axis to normal probability scale

On 03 Feb 2004 20:50:36 +0000, C Chang <cc164 at york.ac.uk> wrote :
You should plot with "axes=F", then add the axes manually.

For example, 

x <- sort(rnorm(100))
y <- sort(rnorm(100))
plot(x,y,axes=F)
box()
at <- c(0.01,0.1,0.5,0.9,0.99)
axis(1,at=qnorm(at),labels=at)
axis(2,at=qnorm(at),labels=at)
box()

(At least I think that's a "normal probability scale", but you better
check against your own definition.)

Duncan Murdoch