2
The attribute legend.key.size
changes the distance between the elements a little.
See if it fits you:
library(ggplot2)
ggplot(iris, aes(x = Sepal.Length, y = Petal.Length, color = Species)) +
geom_point() +
theme(
legend.key.size = unit(3, 'lines')
)
Here the reference in English.
Try
theme(legend.key = element_rect(size = 10))
.– Carlos Eduardo Lagosta