[R] distance between legend title and legend box

2006-10-26 Thread Denis Chabot
Hi, I've looked at the parameters available for the legend function and cannot find a way to change the distance between the top of the box surrounding a legend and the legend's title. I have a math expression that raises the height of my title. If you don't mind the non-sensical title I

Re: [R] distance between legend title and legend box

2006-10-26 Thread David Barron
I don't know if there is a nice, easy way of doing this, but this method will work: with(iris, plot(Sepal.Length, Sepal.Width, pch=as.numeric(Species), cex=1.2)) lg-legend(6.5, 4.2, c(setosa, versicolor, virginica), cex=1, pch=1:3, title=expression(kg/km^2), bty=n) x1 -

Re: [R] distance between legend title and legend box

2006-10-26 Thread Paul Murrell
Hi Denis Chabot wrote: Hi, I've looked at the parameters available for the legend function and cannot find a way to change the distance between the top of the box surrounding a legend and the legend's title. I have a math expression that raises the height of my title. If you