Skip to content
Back to formatted view

Raw Message

Message-ID: <20061218174449.76050.qmail@web32812.mail.mud.yahoo.com>
Date: 2006-12-18T17:44:49Z
From: John Kane
Subject: Distance between x-axis values and title
In-Reply-To: <329A68716B57D54E8D39FD3F8A4A84DF057D5CB4@um-mail0136.unimaas.nl>

--- "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))