Hello,

In order to reduce the width of my legend in a plot I introduced line jumps in the title. Here's the problem; the legend box hasn't adapted accordingly and part of the title is printed out of the frame.
See the example below:

plot(1:10)
legend("bottomright", bg="white", fill=c(7,8,12,13,19), legend=c("7","8","12","13","19"), title="CAVM\nvegetation\ncategories")

Does anyone know a trick to cope with that problem?

Thank you in advance,

Regards,

loīc

	[[alternative HTML version deleted]]

