convertUserToLine | R Documentation |
Convert from user coordinates to axis line
convertUserToLine(usr, axis = 1)
usr |
user coordinate to convert to line |
axis |
axis to do conversion on (1:4 same as axis, mtext command) |
axis line position
plot(1:10) mtext('Test1',1,convertUserToLine(0,1)) points(5.5,0,xpd=NA) mtext('Test2',2,convertUserToLine(0,2)) points(0,5.5,xpd=NA)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.