First approach:
Try setting the font size before the legend is built.
x <- y <- rnorm(100, 0, 1) plot(x, y, type = "n")

## here you set cexto 1.5 ## save new defaults in `op` op <- par(cex = 1.5) legend("topright", legend = "foo legend", pch = 1, bty = "n")

Second approach:
Holding the pt.cex parameter equal to 1, when trying to use different values ββfor cex inside the legend call. Remember to remove the op .
x <- rnorm(100, 10, 4) y <- rnorm(100, 10, 4) plot(x, y, type = "n")

source share