r - Best way to control axis label position parallel to axis -



r - Best way to control axis label position parallel to axis -

the axis labels plots in r default center of respective axis. move axis labels ends of axes horizontal "x" label @ far right , vertical "y" label @ far top. recommended ways this? can 1 utilize mtext in clever way?

using mtext , playing adj parameter:

plot(0,ann=false) mtext('right',side=1,line=2,adj=1,col='red',cex=2) mtext('top',side=2,line=2,adj=1,col='blue',cex=2)

r plot

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

c# - Create a Notification Object (Email or Page) At Run Time -- Dependency Injection or Factory -

Set Up Of Common Name Of SSL Certificate To Protect Plesk Panel -