[R] changing plot font for Times new roman
Roland Rau
roland.rproject at gmail.com
Mon Aug 18 21:34:01 CEST 2008
Hi,
milton ruser wrote:
> we choose an family of fonts. I tryed par(family="times")
> without success.
>
what about this:
pdf("plot1Times.pdf", family="Times")
plot(1,1)
dev.off()
pdf("plot1NotTimes.pdf")
plot(1,1)
dev.off()
Maybe you check also the help for
?postscriptFonts
I hope this helps you a bit further.
Best,
Roland
> Surfing on R archieve I got an suggestion of
> use par(font.lab=6), but when I go to the
> par(font.lab) help the highest value there is 5.
> How can I have sure that font.lab=6 is the Times
> New Roman?
>
> Thanks in advance,
>
> miltinho astronauta
> brazil
> ---
>
> op<-par()
>
> x11(800,500)
> par(mfrow=c(1,2))
>
> x<-plot(runif(100),rnorm(100) , main="standard font")
>
> par(font.lab=6)
> par(font.axis=6)
>
> x<-plot(runif(100),rnorm(100) , main="font=6")
> par<-op
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.
>
More information about the R-help
mailing list