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:[EMAIL PROTECTED]
> Sent: Monday, December 18, 2006 18:45
> To: Viechtbauer Wolfgang (STAT); [email protected]
> Subject: Re: [R] Distance between x-axis values and title
> 
> 
> --- "Viechtbauer Wolfgang (STAT)"
> <[EMAIL PROTECTED]> 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))

______________________________________________
[email protected] 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