[R] problem with putting text in outer margins (mtext outer=TRUE)

2008-07-18 Thread Janet Young
Hi there, I'm trying to get some text in the outer margins of my plots and am having trouble - the margin text is overlapping my plots, even though the outer margin I'm trying to put it in is very big. I've simplified my problem down to this: -

Re: [R] problem with putting text in outer margins (mtext outer=TRUE)

2008-07-18 Thread jim holtman
try using the 'line' parameter: par(mfrow=c(6,1),oma=c(20,0,20,0), mar=c(0,3.1,1,2.1)) for (i in 1:6) { plot(cars[,speed],cars[,dist]) } mtext(Position (Mb), outer=TRUE, side=1, line=3) mtext(Position (Mb), outer=TRUE, side=3, line=3) On Fri, Jul 18, 2008 at 7:00 PM, Janet Young [EMAIL