[R] Problem with mtext

Sebastian Leuzinger
Thu, 08 Apr 2010 15:40:50 -0000

Dear list

I am experiencing a very annoying problem with mtext, although I have
been using this command for many years. The following code prints
"test" twice in the outer margin, once at .7 where it should be, and
once at the bottom somewhere. I also notice that the command takes
longer than normal to execute, and it seems to overprint many times.
Can anyone reproduce this? Is it a bug? I am on OSX 10.5.8 using R
version 2.10.1
Thanks for advice.
Sebastian


layout(matrix(c(1:6),ncol=1))
par(oma=c(3,3,.5,5))
plot(c(1:10))
plot(c(1:10))
plot(c(1:10))
plot(c(1:10))
plot(c(1:10))
plot(c(1:10))
mtext(side=2,at=.7,"test",outer=T,las=0,line=1.7)



	[[alternative HTML version deleted]]