Re: [R] Changing font in boxplots

2007-08-08 Thread John Kane
--- Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > On Wed, 8 Aug 2007, G Iossa, School Biological > Sciences wrote: > > > Hi John, > > > > Thanks so much for such a quick reply. > > I have tried to set all to Times font running > > > > par(font.lab=6) (not 4, maybe this is a local > setting on m

Re: [R] Changing font in boxplots

2007-08-08 Thread G Iossa, School Biological Sciences
Thanks everyone for your replies. And sorry if I have not been clear enough in my query (although I did say that I run R on Windows). Typing either par(family="serif") or par(font.axis=6) solved the problem. Much obliged, Graziella --On 08 August 2007 14:58 +0100 Prof Brian Ripley <[EMAIL PRO

Re: [R] Changing font in boxplots

2007-08-08 Thread Robert Baer
> Hi John, > > Thanks so much for such a quick reply. > I have tried to set all to Times font running > > par(font.lab=6) (not 4, maybe this is a local setting on my machine?) > > but now the boxplot shown has the x and y labels in Times New Roman and > the > x and y axis still in Arial. Any idea

Re: [R] Changing font in boxplots

2007-08-08 Thread Prof Brian Ripley
On Wed, 8 Aug 2007, G Iossa, School Biological Sciences wrote: > Hi John, > > Thanks so much for such a quick reply. > I have tried to set all to Times font running > > par(font.lab=6) (not 4, maybe this is a local setting on my machine?) '6' is a setting specific to certain devices on Windows.

Re: [R] Changing font in boxplots

2007-08-08 Thread G Iossa, School Biological Sciences
Hi John, Thanks so much for such a quick reply. I have tried to set all to Times font running par(font.lab=6) (not 4, maybe this is a local setting on my machine?) but now the boxplot shown has the x and y labels in Times New Roman and the x and y axis still in Arial. Any idea why R is not sett

Re: [R] Changing font in boxplots

2007-08-08 Thread John Kane
I don't know if boxplot will accept a font argument.m >From ?boxplot it is not clear. You may need to set the par() command before the boxplot Example: par(font.lab=4) boxplot(mass ~ family, data=mydata, ylab="mass %", xlab="family",las=1, cex.axis=1) --- "G Iossa, School Biological Sciences" <[