Try: axis(1, 0.5, tick = TRUE)
On 11/18/06, zhijie zhang <[EMAIL PROTECTED]> wrote: > Dear Ruser, > I use abline() function to add the reference line successfully, but i > can't display the values corresponding to the reference line on the x/y > axis, anybody knows how to display it? > *My simulated programs:* > y<-rnorm(50) > plot(x,y) > abline(v=0.5) *#my question is how to display x=0.5 in the x axis?* > Thanks in advance. > -- > With Kind Regards, > > oooO::::::::: > (..)::::::::: > :\.(:::Oooo:: > ::\_)::(..):: > :::::::)./::: > ::::::(_/:::: > ::::::::::::: > [***********************************************************************] > Zhi Jie,Zhang ,PHD > Tel:86-21-54237149 [EMAIL PROTECTED] > Dept. of Epidemiology,school of public health,Fudan University > Address:No. 138 Yi Xue Yuan Road,Shanghai,China > Postcode:200032 > [***********************************************************************] > oooO::::::::: > (..)::::::::: > :\.(:::Oooo:: > ::\_)::(..):: > :::::::)./::: > ::::::(_/:::: > ::::::::::::: > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.