[R] Using the Arial font in the plot function.

From: Todd Remund <tkremund98_at_hotmail.com>
Date: Mon, 14 Apr 2008 08:14:53 -0600

I would like to ensure that all the text in my plot is in the arial font, like in excel and word. I have been saving my graphics to a file using the png() function, and have tried the postscript() function. In the documentation I have not been able to find a way of changing the family argument to an arial font. Does it exist? How would I go about creating a png or ps graphic using Arial? Thank you.  

Here is the code.  

par(family= what?)
plot(1,1, main='Main Title')  


postscript('C:/Plot1.ps', family=what?)  

plot(1,1, main='Main Title')  


        [[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. Received on Mon 14 Apr 2008 - 14:18:49 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 Mon 14 Apr 2008 - 15:00:28 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