Hello! I was loooking in R-bugs and found under wishlist-fullfilled wish for "smart" placement of a legend. This has already been done in package gplots in function smartlegend. One question. This "bug-report" is under wishlist-fullfilled. Is it really fullfilled? Mail from Elizabeth --------------------------------------------------------------- It would be nice if legend had the option of some default locations you could choose instead of entering specific coordinates, like "topleft", "topright","topcenter", etc. based on par("usr") coordinates. I know I've wanted it so often I've made my own simple non-robust wrap-around, so I don't have to remember or parse the xjust and yjust options necessary to make it work. Of course there should be the option of entering in your own coordinates. Also it would be nice to be able to put a optional title inside your legend. Currently I just make my title the first value in my legend vector, and then fix the other options so no symbols plot next to it. But this isn't always a pretty result and can be a pain if your symbols are complicated. Thanks, Elizabeth Response to Elizabeth by Duncan Murdoch --------------------------------------------------------------- -- Lep pozdrav / With regards, Gregor GORJANC --------------------------------------------------------------- University of Ljubljana Biotechnical Faculty URI: http://www.bfro.uni-lj.si Zootechnical Department email: gregor.gorjanc <at> bfro.uni-lj.si Groblje 3 tel: +386 (0)1 72 17 861 SI-1230 Domzale fax: +386 (0)1 72 17 888 Slovenia
Gorjanc Gregor wrote:> Hello! > > I was loooking in R-bugs and found under wishlist-fullfilled wish for > "smart" placement of a legend. This has already been done in package > gplots in function smartlegend. > > One question. This "bug-report" is under wishlist-fullfilled. Is it really > fullfilled?Yes, in the current developer release (AKA R-devel, to be R-2.1.0), as you can easily see in the correpsonding NEWS file and the svn logs. Why do you follow up into the bug repository? Uwe Ligges> > Mail from Elizabeth > --------------------------------------------------------------- > > It would be nice if legend had the option of some default locations you could > choose instead of entering specific coordinates, like "topleft", > "topright","topcenter", etc. based on par("usr") coordinates. I know I've wanted > it so often I've made my own simple non-robust wrap-around, so I don't have to > remember or parse the xjust and yjust options necessary to make it work. Of > course there should be the option of entering in your own coordinates. > > Also it would be nice to be able to put a optional title inside your legend. > Currently I just make my title the first value in my legend vector, and then fix > the other options so no symbols plot next to it. But this isn't always a pretty > result and can be a pain if your symbols are complicated. > > Thanks, > Elizabeth > > Response to Elizabeth by Duncan Murdoch > --------------------------------------------------------------- > > -- > Lep pozdrav / With regards, > Gregor GORJANC > > --------------------------------------------------------------- > University of Ljubljana > Biotechnical Faculty URI: http://www.bfro.uni-lj.si > Zootechnical Department email: gregor.gorjanc <at> bfro.uni-lj.si > Groblje 3 tel: +386 (0)1 72 17 861 > SI-1230 Domzale fax: +386 (0)1 72 17 888 > Slovenia > > ______________________________________________ > R-devel@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel
On Mon, 14 Feb 2005, Prof Brian Ripley wrote:> On Mon, 14 Feb 2005, Gregor GORJANC wrote:>> You are right with NEWS file in R-devel. It really documents this >> improvement. Very nice. You guys really do an excellent job. I did not >> looked in NEWS file since it is kind of "hidden" i.e. one needs to download >> the R-devel and look in that file. But I confes, it is my blame, not of >> R-devel > > It is accessible at > > https://svn.r-project.org/R/trunk/NEWSand I have now linked that off the developer page (but it will not become visible until that gets its daily update). -- Brian D. Ripley, ripley@stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595