0

I want to add a legend to my plot of word frequences. I have 10 items as a vector to display as a legend besides by diagram. But it is cropped or not fully displayed?!

l <- length(plottedTerms)    
legend("topright", 
       legend = t(plottedTerms), 
       title="Legend", 
       pt.cex=1, cex = 0.7, col=1:l, 
       text.col = 1:l, lty = 1)

resulting plot

Roland
  • 122,144
  • 10
  • 182
  • 276
Heiko113
  • 11
  • 2

0 Answers0