[R] FW: Two-line title in R legend
Gabriel Toro
toro at lettisci.com
Mon Nov 12 04:13:25 CET 2012
Hi,
I am trying to use a legend title that is a bit too long for one line. To try to break the title in two lines, I am using
legend (title="Top of Title\nbottom of title", etc. )
R prints the title as two lines, but the top line is outside the legend box.
How can I trick the R legend function to make the legend box taller so that it contains the top line?
Thanks,
Gabriel
More information about the R-help
mailing list