[R] Distance between x-axis values and title
Viechtbauer Wolfgang (STAT)
Wolfgang.Viechtbauer at STAT.unimaas.nl
Mon Dec 18 18:54:02 CET 2006
Thanks to all who responded so quickly! Yes, I totally overlooked par(mpg). Exactly what I was looking for.
--
Wolfgang Viechtbauer
Department of Methodology and Statistics
University of Maastricht, The Netherlands
http://www.wvbauer.com/
> -----Original Message-----
> From: John Kane [mailto:jrkrideau at yahoo.ca]
> Sent: Monday, December 18, 2006 18:45
> To: Viechtbauer Wolfgang (STAT); r-help at stat.math.ethz.ch
> Subject: Re: [R] Distance between x-axis values and title
>
>
> --- "Viechtbauer Wolfgang (STAT)"
> <Wolfgang.Viechtbauer at STAT.unimaas.nl> wrote:
>
> > Dear All,
> >
> > I looked at help(par), but could not figure out
> > which setting controls the distance between the
> > x-axis values and the x-axis title. Any pointer
> > would be appreciated!
> >
> > Thanks in advance,
> >
> ?mpg probably
> Is this what you want
>
> catb <- c( 1,2,3,4,5,6)
> dogb <- c(2,4,6,8,10, 12)
> plot(catb,dogb, mgp=c(3,1,0))
> # vs
> plot(catb,dogb, mgp=c(2,1,0))
More information about the R-help
mailing list