[R] how to draw x-axis at randomly position

Jing Yang yangj at student.ethz.ch
Wed Mar 8 17:32:55 CET 2006


Dear R-user,

Does any of you know how to draw x-axis at randomly position?
It looks I could only draw x-axis at the bottom and top of the plot area (by using function axis). 
However, sometimes I need to draw x-axis at randomly position, for example, in the plot of y~x, I'd like to let the x-axis go cross y=5.

Best,Jing




More information about the R-help mailing list