Displaying 1 result from an estimated 1 matches for "gcontextfromgpar".
2013 May 21
1
Lattice, ggplot, and pointsize
Hi!
When inserting R plots into a document using odfWeave, I fought for a
while to get Lattice plots use the same text size as base plots. I
eventually discovered that specifying a point size via e.g.
svg(pointsize=10) has no effect on Lattice plots. One needs to adjust
the size manually via:
trellis.par.set(fontsize=list(text=10, points=8))
This is also developed for both Lattice and ggplot2 by