Re: [R] mtext bug

2012-06-03 Thread Duncan Murdoch
On 12-06-02 8:42 PM, Matthew Johnson wrote: Sir, I am now having a similar problem with the barplot: i cannot get the margin text to 'stick'. png(paste(drive, "MoMUnit.png", sep="")) par(mar=c(10, 3, 2, 2), opar=(1,0,0,0)) I think "opar" is a typo. Duncan Murdoch mainnameUnit = expression(

Re: [R] mtext bug

2012-06-02 Thread Matthew Johnson
Sir, I am now having a similar problem with the barplot: i cannot get the margin text to 'stick'. png(paste(drive, "MoMUnit.png", sep="")) par(mar=c(10, 3, 2, 2), opar=(1,0,0,0)) mainnameUnit = expression(paste("MoM %", Delta, " Apptmnt Prices", sep="")) ymin <- min(percentDiff[,c(6, 9, 33, 36, s

Re: [R] mtext bug

2012-06-02 Thread Matthew Johnson
thanks very much - fixed. On 3 June 2012 08:26, Duncan Murdoch wrote: > On 12-06-02 6:21 PM, Matthew Johnson wrote: > >> Sir, >> >> I have hit a the limits of my understanding of text / par / opar etc... >> >> I have a few related xts data frames which have multiple columns, and have >> written

Re: [R] mtext bug

2012-06-02 Thread Duncan Murdoch
On 12-06-02 6:21 PM, Matthew Johnson wrote: Sir, I have hit a the limits of my understanding of text / par / opar etc... I have a few related xts data frames which have multiple columns, and have written a for-loop to make a set of charts - however i do not get any margin text when i run the lo

[R] mtext bug

2012-06-02 Thread Matthew Johnson
Sir, I have hit a the limits of my understanding of text / par / opar etc... I have a few related xts data frames which have multiple columns, and have written a for-loop to make a set of charts - however i do not get any margin text when i run the loop. when i test the code outside of the loop