[R] how to add these "axis" label?

casperyc casperyc at hotmail.co.uk
Wed Dec 8 20:42:06 CET 2010


Hi All,

How do I add these axis labels?

###############################################
p=seq(0,1,length.out=500)
p=p[-c(1,length(p))]
g1=log(p/(1-p))
g2=qnorm(p)
g3=log(-log(1-p))
g4=-log(-log(p))
plot(p,g1,
	'n',ylim=c(-5,5),las=1,
	bty='n',
	xaxt='n',yaxt='n',
	xlab="",ylab=""
)
lines(p,g1,lty=1,col=1)
lines(p,g2,lty=1,col=2)
lines(p,g3,lty=1,col=3)
lines(p,g4,lty=1,col=4)

###############################################
Thanks!

casper

http://r.789695.n4.nabble.com/file/n3078908/123.jpeg 123.jpeg 
-- 
View this message in context: http://r.789695.n4.nabble.com/how-to-add-these-axis-label-tp3078908p3078908.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list