Hello,

   I am trying to use mgp.axis labels to locate the x-xis at a different 
distance from the one specified for the y-axis. I know I could use other 
functions such as mtext or axis. But I am curious to know about how to use 
'mgp'axis.labels' from the Hmisc package. I tried following the example in the 
documentation without success.

Sample code:

x<-1:10
y<-1:10

mgp.axis.labels(type='x', mgp=c(5,1,2))
plot(x,y, xlab="X")


   I know I am not really understanding the concept, but some guidance would be 
greatly appreciated.

Thank you,

Judith

______________________________________________
R-help@r-project.org 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.

Reply via email to