I\'m trying to get a label on my vertical axis using mtext that is read horizontally (las=1) and is at the top of the axis.
mtext
las=1
My attempt is t
The trick is to access the height of the plot by calling par('usr')[4]:
par('usr')[4]
par(mar=c(2,3,2,1)) plot(1, 1, ann=F) mtext(col="blue", "y", side=2, line=2, at=par('usr')[4], las=2)