... But is I understand correctly,this is certainly straightforward without textplot,too...
e.g. mylegend <- "Some text...\n Some more text" mytitle <- "This is a title" plot(0:1,0:1, main = mytitle) legend(.2,.2,leg=mylegend, bty="n") Naturally, this could all be "functionized" and the various text arguments passed as arguments to the function (see ?plot.default or its code); or they could be components of a list, or ... Bert Gunter Genentech Nonclinical Statistics -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Greg Snow Sent: Monday, November 19, 2007 2:18 PM To: Alexy Khrabrov; r-help@r-project.org Subject: Re: [R] reading graph metadata text from a file You may want to use the textplot function from the gplots package rather than the legend. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare [EMAIL PROTECTED] (801) 408-8111 > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Alexy Khrabrov > Sent: Monday, November 19, 2007 1:17 PM > To: r-help@r-project.org > Subject: [R] reading graph metadata text from a file > > I'd like to produce graphs with titles, axis labels, and > legend as parameters read from a separate text file. > Moreover, I'd like to use the legend for a short summary of > the data -- not necessarily for describing the line colors > per se. How do we do this? > > Cheers, > Alexy > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.