[R] understanding cex (R plots)
Martin Batholdy
batholdy at googlemail.com
Tue Feb 26 23:46:00 CET 2013
Hi,
I try to make multiple plots look as similar as possible.
I create each plot with pdf(), using the same height but different width in inch.
For some plots I use the layout() function to draw multiple subplots side by side in one pdf.
For each plot I use the same cex values for the different plotting functions
(cex.axis, cex.lab, cex.points etc.)
Still, when I compare the pdf's the axis labels, titles etc. have different size factors!
Is that expected?
I thought by fixing the height parameter and using the same character expansion values I would end up with similar plots
(and especially same font size across pdfs).
How can I make sure that across multiple plot calls the character expansion level (font size) is the same?
thanks!
More information about the R-help
mailing list