SyntaxFix
Write A Post
Hire A Developer
Questions
The cex parameter will do that for you.
cex
a <- c(3, 2, 2, 2, 1, 2 ) barplot(a, beside = T, col = 1:6, space = c(0, 2)) legend("topright", legend = c("a", "b", "c", "d", "e", "f"), fill = 1:6, ncol = 2, cex = 0.75)