[R] changing the text offset for axis labels

Greg Snow Greg.Snow at imail.org
Mon Sep 22 20:35:17 CEST 2008

Look at ?par and scroll down to the section on 'mgp'.  Or you can suppress the axis when you make the plot, then use the axis function to include it with more control (see ?axis).

Hope this helps,

Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org

> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Arthur Roberts
> Sent: Monday, September 22, 2008 10:23 AM
> To: r-help at stat.math.ethz.ch
> Subject: [R] changing the text offset for axis labels
> Hi, all,
> I was wondering if there is a way to change the offset of axis labels
> from the axis.  In other words, I need the axis labels closer to the
> acis than the default.  Thanks for the help.
> Best wishes,
> Art Roberts
> University of Washington
> Seattle, WA
> ______________________________________________
> 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.

More information about the R-help mailing list