On 2007-11-20, jim holtman <[EMAIL PROTECTED]> wrote:
> Does something like this work for you?  You can vary the mgp parameter
> for placement of the label.
>

You can also use mtext to place the axis label separately:

barplot(rev(modelledprofile),horiz=TRUE,xlim=c(0,1),col="cornflowerblue",names.arg=rev(depthnames),las=1)
mtext("depth", side = 2, line = 3)

The line option sets the distance from the axis - higher numbers will
give you more space. See ?mtext for details.

Tyler

______________________________________________
R-help@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.

Reply via email to