
i
i
“K23166” — 2015/1/28 — 9:35 — page 150 — #176
i
i
i
i
i
i
150 CHAPTER 9. GRAPHICAL OPTIONS AND CONFIGURATION
9.2.4 Fonts
pdf(file="plot.pdf")
par(family="Palatino")
plot(x, y)
dev.off()
Note: Supported postscript families include AvantGarde, Bookman, Courier, Helvetica,
Helvetica-Narrow, NewCenturySchoolbook, Palatino, and Times (see ?postscript).
9.2.5 Point and text size
Example: 6.6.6
plot(x, y, cex=cexval)
Note: The cex option specifies how much the plotting text and symbols should be magnified
relative to the default value of 1 (see help(par) for details on how to specify this for axes,
labels, and titles, e.g., cex.axis).
9.2.6 Box around plots
Example: 5.7.4 ...