[R] distance betwenn axis and axis annotation

Dimitris Rizopoulos d.rizopoulos at erasmusmc.nl
Wed Feb 18 12:37:58 CET 2009


have a look at ?par() and specifically parameter 'mgp', e.g.,
compare

par(mfrow = c(1, 2))
plot(1, 1)
plot(1, 1, mgp = c(2.5, 0.5, 0))


I hope it helps.

Best,
Dimitris

Luis Ridao Cruz wrote:
> R-help,
> 
> How can I specify the distance between the axis and axis annotation?
> 
> Thanks in advance
> 
> ______________________________________________
> R-help at 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.
> 

-- 
Dimitris Rizopoulos
Assistant Professor
Department of Biostatistics
Erasmus University Medical Center

Address: PO Box 2040, 3000 CA Rotterdam, the Netherlands
Tel: +31/(0)10/7043478
Fax: +31/(0)10/7043014




More information about the R-help mailing list