[R] the title is too long for a graph
ggrothendieck at gmail.com
Tue Jun 10 19:27:10 CEST 2008
Instead of placing this information in the title we could
consider placing it in a legend.
s <- "a=1,b=2,c=3"
legend("topleft", legend = strsplit(s, ",")[], ncol = 1, cex = 0.5,
bty = "n")
On Tue, Jun 10, 2008 at 12:07 PM, Hua Li <hualihua at yahoo.com> wrote:
> Hi All,
> I have a problem of putting long titles on a graph:
> for example,
> x= seq(1:100)
> R seems not able to print the whole title. The title content might be changing and thus I don't know how long it is beforehand. Is there a way to measure the length and then put the title into different lines accordingly?
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help