Re: [R] Change the text size of the title in a legend of a R plot.

2011-04-29 Thread Victor Gabillon
thanks everyone for the help. I ended up copying and pasting the legend function from the R source files. I changed it so that the title.cex is not set by default to cex and so that this title.cex can be given as a parameter. It works fine for me. Note that if you make the title too big it goe

Re: [R] Change the text size of the title in a legend of a R plot.

2011-04-29 Thread Jannis
On 04/29/2011 05:21 AM, Victor Gabillon wrote: Horizo <- c(1,2,6,10,20) legtext <- paste(Horizo,sep="") legend("topleft", legend=legtext,col=col,text.col=col,lwd=lwd, lty=lty,cex=1.1,ncol=3,title = "Horizons",title.col ="black",title.cex=1.4) I am not sure, but the manual regarding legend see

Re: [R] Change the text size of the title in a legend of a R plot.

2011-04-28 Thread Remko Duursma
Apr 29, 2011 at 3:15 PM, Steven McKinney wrote: > > > >> -Original Message- >> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On >> Behalf Of Victor Gabillon >> Sent: April-28-11 8:22 PM >> To: r-help@r-project.org >>

Re: [R] Change the text size of the title in a legend of a R plot.

2011-04-28 Thread Steven McKinney
> -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of Victor Gabillon > Sent: April-28-11 8:22 PM > To: r-help@r-project.org > Subject: [R] Change the text size of the title in a legend of a R plot. >

[R] Change the text size of the title in a legend of a R plot.

2011-04-28 Thread Victor Gabillon
Hello, Is it possible to change the text size of the title in a legend of a R plot? I tried to directly change the title.cex argument but it seems not to work. Trying : Horizo <- c(1,2,6,10,20) legtext <- paste(Horizo,sep="") legend("topleft", legend=legtext,col=col,text.col=col,lwd=lwd, lty=l