[R] font and size times New Roman

From: Fabiane Silva <fabianezte_at_gmail.com>
Date: Tue, 12 Apr 2011 20:23:11 -0300


I wonder how to change the font of
chart to Times New Roman and size 9.

plot(c(0,100,20),c(0,600,50), xlab= 'Idade(meses)', ylab="Peso(kg)", type = "n", axes=F)

axis(1, pos=0, at=seq(0,100,20))
axis(2, pos=0,  at=seq(0,600,100))
t<- seq(0,100,1)

lines(t, TA, col='black',lty=1, lwd=4)
lines(t, NI, col="black", lty=2, lwd=4)
lines(t, RC, col='black',lty=3, lwd=4)
lines(t, TS, col='black',lty=4, lwd=4)

legend(40,200, legend = c("A=553,47 kg k=0,0535","A=543,56 kg k=0,0522","A=514,57 kg k=0,0499","A=498,97 kg k=0,0494"), col=c("black"), cex=0.8, lwd=4, lty=c(4,1,3,2))

Attached is the graphic I need to make these changes


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. Received on Wed 13 Apr 2011 - 04:57:40 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 13 Apr 2011 - 05:20:29 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive