HI JIm, thank you very much, 
I have found it, it is actually :
 
par(family="serif", font=1)   
plot(....., family="serif", ......)

family="serif" actually sets the font into TImes new Roman, and actually the 
availabel family fonts are vary amongst different operating system, I am using 
Windows XP actually. 
 
the font numerical arguments takes the values of 1=plain text (by defaults), 2= 
bold, 3= italic, 4= italic bold. 
This info I got from Hrishi V. Mittal in his R Graphs Cookbook, 
thnaks a lot,
Cheers,
Yakamu
 
 
--- On Sat, 1/14/12, Jim Lemon <j...@bitwrit.com.au> wrote:


From: Jim Lemon <j...@bitwrit.com.au>
Subject: Re: [R] HOW To CHANGE THE TYPE OF NUMBER IN THE X-Y AXIS in the 
(barplot) GRAPH?
To: "Yakamu Yakamu" <iam_yak...@yahoo.com>
Cc: R-help@r-project.org
Date: Saturday, January 14, 2012, 1:53 PM


On 01/15/2012 02:16 AM, Yakamu Yakamu wrote:
> Dear all,
> I have troubles where i have to make all the fonts in my grpahs into TImes 
> New Roman,
> I know now how to change fonts for the x-axis-y-axis labels (from
> http://www.statmethods.net/advgraphs/parameters.html )
>   but HOW CAN I ALSO CHANGE THE TYPE OF FONT FOR THE NUMBER INTO Times New 
>Roman?

Hi Yamaku,
Try this:

par(family="times")
plot(...)

This changes the tick labels (which is what I think you want) to Times.

Jim

        [[alternative HTML version deleted]]

______________________________________________
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