[R] HOW To CHANGE THE TYPE OF NUMBER IN THE X-Y AXIS in the (barplot) GRAPH?

Jim Lemon jim at bitwrit.com.au
Sat Jan 14 22:53:41 CET 2012


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



More information about the R-help mailing list