The ggplot()
function and anything built on top of it ignores the global point size. Functions like plot()
and text()
, however, do not. The former functions expect font sizes to be specified in absolute terms, through a size
parameter, while the latter work with cex
, which does relative scaling.
It's not always possible to avoid mixing those mechanisms. Here's an example: You want to plot a series of polygons and place labels inside them, typically for a map. Especially for highly nonconvex polygons, you might want to use rgeos::polygonsLabel()
(rather than, say, coordinates()
) to determine appropriate label positions. This function is built on top of text()
and thus, again, only allows you to pass relative font sizes. But maybe you later want to place the labels with geom_text()
from the ggplot2 package; for optimal utility of the rgeos::polygonsLabel()
output, font sizes need to match here.