Re: [Rd] Wishlist: simple legend options (PR#7400)
Hello Uwe. Thanks for the response. I was searching in bug repository for something else and found that wish. Hoewever I tried to do a search for that, so I would not bother R-devel team. I was not successfull in finding any meaningfull comments on legend in http://developer.r-project.org/R.svnlog.2005 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 folk. However I think, that it would be nice that link to NEWS file would be accessible directly from R websites. I wrote few lines of HTML code that could be added to CRAN webpages for this. I hope r-team or CRAN maintainers will find this usefull. Look files: * A replacement for http://cran.at.r-project.org/sources.html. I added link to last R-devel and R-patched archives and to corresponding NEWS files. However there are now no NEWS files at ftp://ftp.stat.math.ethz.ch/Software/R. I suggest that NEWS files for last R-devel and R-patched should be there, but since there are two, they could be named NEWS-devel and NEWS-patched or something alike. Maybe one could even divide directories ro R-devel and R-pacthed. File is available at: http://www.bfro.uni-lj.si/MR/ggorjan/sources.html * A replacement for http://cran.at.r-project.org/banner.shtml. I added the same as above. File is available at: http://www.bfro.uni-lj.si/MR/ggorjan/banner.shtml Uwe Ligges wrote: 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 Departmentemail: gregor.gorjanc at bfro.uni-lj.si Groblje 3 tel: +386 (0)1 72 17 861 SI-1230 Domzalefax: +386 (0)1 72 17 888 Slovenia __ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Lep pozdrav / With regards, Gregor GORJANC --- University of Ljubljana Biotechnical Faculty URI: http://www.bfro.uni-lj.si Zootechnical Departmentmail: gregor.gorjanc at bfro.uni-lj.si Groblje 3 tel: +386 (0)1 72 17 861 SI-1230 Domzalefax: +386 (0)1 72 17 888 Slovenia __ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Wishlist: simple legend options (PR#7400)
On Mon, 14 Feb 2005, Gregor GORJANC wrote: Hello Uwe. Thanks for the response. I was searching in bug repository for something else and found that wish. Hoewever I tried to do a search for that, so I would not bother R-devel team. I was not successfull in finding any meaningfull comments on legend in http://developer.r-project.org/R.svnlog.2005 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/NEWS folk. However I think, that it would be nice that link to NEWS file would be accessible directly from R websites. I wrote few lines of HTML code that could be added to CRAN webpages for this. I hope r-team or CRAN maintainers will find this usefull. Look files: * A replacement for http://cran.at.r-project.org/sources.html. I added link to last R-devel and R-patched archives and to corresponding NEWS files. However there are now no NEWS files at ftp://ftp.stat.math.ethz.ch/Software/R. I suggest that NEWS files for last R-devel and R-patched should be there, but since there are two, they could be named NEWS-devel and NEWS-patched or something alike. All the information in R-patched should also be in R-devel: it has a section on 2.0.1 patched. -- Brian D. Ripley, [EMAIL PROTECTED] 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, UKFax: +44 1865 272595 __ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Wishlist: simple legend options (PR#7400)
Gregor GORJANC wrote: Hello Uwe. Thanks for the response. I was searching in bug repository for something else and found that wish. Hoewever I tried to do a search for that, so I would not bother R-devel team. I was not successfull in finding any meaningfull comments on legend in http://developer.r-project.org/R.svnlog.2005 Right, because it was done last year: http://developer.r-project.org/R.svnlog.2004 has (among other legend related entries): r32089 | murdoch | 2004-12-02 17:17:43 -0500 (Thu, 02 Dec 2004) | 1 line Changed paths: M /trunk/NEWS M /trunk/src/library/graphics/R/legend.R M /trunk/src/library/graphics/man/legend.Rd legend() enhancements from PR#7400 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 folk. However I think, that it would be nice that link to NEWS file would be accessible directly from R websites. I wrote few lines of HTML code that could be added to CRAN webpages for this. I hope r-team or CRAN maintainers will find this usefull. The file is much more easily available via SVN: https://svn.r-project.org/R/trunk/NEWS Uwe Ligges Look files: * A replacement for http://cran.at.r-project.org/sources.html. I added link to last R-devel and R-patched archives and to corresponding NEWS files. However there are now no NEWS files at ftp://ftp.stat.math.ethz.ch/Software/R. I suggest that NEWS files for last R-devel and R-patched should be there, but since there are two, they could be named NEWS-devel and NEWS-patched or something alike. Maybe one could even divide directories ro R-devel and R-pacthed. File is available at: http://www.bfro.uni-lj.si/MR/ggorjan/sources.html * A replacement for http://cran.at.r-project.org/banner.shtml. I added the same as above. File is available at: http://www.bfro.uni-lj.si/MR/ggorjan/banner.shtml Uwe Ligges wrote: 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 Departmentemail: gregor.gorjanc at bfro.uni-lj.si Groblje 3 tel: +386 (0)1 72 17 861 SI-1230 Domzalefax: +386 (0)1 72 17 888 Slovenia __ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Wishlist: simple legend options (PR#7400)
I added link to https://svn.r-project.org/R/trunk/NEWS in files http://www.bfro.uni-lj.si/MR/ggorjan/sources.html http://www.bfro.uni-lj.si/MR/ggorjan/banner.shtml Uwe Ligges wrote: Gregor GORJANC wrote: Hello Uwe. Thanks for the response. I was searching in bug repository for something else and found that wish. Hoewever I tried to do a search for that, so I would not bother R-devel team. I was not successfull in finding any meaningfull comments on legend in http://developer.r-project.org/R.svnlog.2005 Right, because it was done last year: http://developer.r-project.org/R.svnlog.2004 has (among other legend related entries): r32089 | murdoch | 2004-12-02 17:17:43 -0500 (Thu, 02 Dec 2004) | 1 line Changed paths: M /trunk/NEWS M /trunk/src/library/graphics/R/legend.R M /trunk/src/library/graphics/man/legend.Rd legend() enhancements from PR#7400 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 folk. However I think, that it would be nice that link to NEWS file would be accessible directly from R websites. I wrote few lines of HTML code that could be added to CRAN webpages for this. I hope r-team or CRAN maintainers will find this usefull. The file is much more easily available via SVN: https://svn.r-project.org/R/trunk/NEWS Uwe Ligges Look files: * A replacement for http://cran.at.r-project.org/sources.html. I added link to last R-devel and R-patched archives and to corresponding NEWS files. However there are now no NEWS files at ftp://ftp.stat.math.ethz.ch/Software/R. I suggest that NEWS files for last R-devel and R-patched should be there, but since there are two, they could be named NEWS-devel and NEWS-patched or something alike. Maybe one could even divide directories ro R-devel and R-pacthed. File is available at: http://www.bfro.uni-lj.si/MR/ggorjan/sources.html * A replacement for http://cran.at.r-project.org/banner.shtml. I added the same as above. File is available at: http://www.bfro.uni-lj.si/MR/ggorjan/banner.shtml Uwe Ligges wrote: 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 Departmentemail: gregor.gorjanc at bfro.uni-lj.si Groblje 3 tel: +386 (0)1 72 17 861 SI-1230 Domzalefax: +386 (0)1 72 17 888 Slovenia __ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Lep pozdrav / With regards, Gregor GORJANC --- University of Ljubljana Biotechnical Faculty URI: http://www.bfro.uni-lj.si Zootechnical Departmentmail: gregor.gorjanc at bfro.uni-lj.si Groblje 3 tel: +386 (0)1 72 17 861 SI-1230 Domzalefax: +386 (0)1 72 17 888 Slovenia __ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Wishlist: simple legend options (PR#7400)
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/NEWS and I have now linked that off the developer page (but it will not become visible until that gets its daily update). -- Brian D. Ripley, [EMAIL PROTECTED] 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, UKFax: +44 1865 272595 __ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Wishlist: simple legend options (PR#7400)
On Mon, 14 Feb 2005 12:28:20 +0100, Gregor GORJANC (GG) wrote: I added link to https://svn.r-project.org/R/trunk/NEWS in files http://www.bfro.uni-lj.si/MR/ggorjan/sources.html http://www.bfro.uni-lj.si/MR/ggorjan/banner.shtml Thanks, I have copied those to CRAN with only minor modifications. Best, Fritz __ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Wishlist: simple legend options (PR#7400)
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 Departmentemail: gregor.gorjanc at bfro.uni-lj.si Groblje 3 tel: +386 (0)1 72 17 861 SI-1230 Domzalefax: +386 (0)1 72 17 888 Slovenia __ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Wishlist: simple legend options (PR#7400)
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 Departmentemail: gregor.gorjanc at bfro.uni-lj.si Groblje 3 tel: +386 (0)1 72 17 861 SI-1230 Domzalefax: +386 (0)1 72 17 888 Slovenia __ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
RE: [Rd] Wishlist: simple legend options (PR#7400)
I'm also glad to see this features go into the standard packages. I think that it may be worthwhile to regularly 'nominate' features/functions present in other packages for 'promotion' into the standard R packages. -G -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dirk Eddelbuettel Sent: Friday, December 03, 2004 10:39 AM To: Duncan Murdoch Cc: Warnes, Gregory R; [EMAIL PROTECTED] Subject: Re: [Rd] Wishlist: simple legend options (PR#7400) On Fri, Dec 03, 2004 at 08:54:54AM -0500, Duncan Murdoch wrote: On Fri, 3 Dec 2004 03:08:11 + (UTC), Gabor Grothendieck [EMAIL PROTECTED] wrote : epurdom at stanford.edu writes: : : Full_Name: Elizabeth Purdom : Version: 1.9.1 : OS: Windows XP : Submission from: (NULL) (171.64.102.199) : : 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. Check out smartlengend in package gtools which is part of the gregmisc bundle. I agtee its a useful feature and it would be nice if that feature migrated to the base graphics. I've put both the title and keyword placement of the legend into legend() now, in R-devel. I was unaware of the smartlegend() function (which is actually in gplots); I've just now added an inset parameter like it has. The specification for the location is slightly different than smartlegend() uses. Because legend() handles the second parameter in a strange way and I didn't want to fiddle with that, I put the specification entirely in the first parameter: you say you want the legend at one of bottomright, bottom, bottomleft, left, topleft, top, topright, right, or center. This should be downloadable tomorrow from the CRAN mirrors. Sweet, thanks. I'm probably not the only one who wrote simple little wrappers for that at one point. Good to have a more general solution in base. Dirk -- If your hair is standing up, then you are in extreme danger. -- http://www.usafa.af.mil/dfp/cockpit-phys/fp1ex3.htm __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-devel LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}} __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Wishlist: simple legend options (PR#7400)
Warnes, Gregory R gregory.r.warnes at pfizer.com writes: : : I'm also glad to see this features go into the standard packages. : : I think that it may be worthwhile to regularly 'nominate' features/functions : present in other packages for 'promotion' into the standard R packages. That's a good idea. I would certainly like to see the handy sfsmisc::glob2rx in the standard R packages. It converts a glob, i.e wildcard specification, into a regular expression and therefore can be plugged into many spots in the standard R functions. Its body is only 2 lines long. __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Wishlist: simple legend options (PR#7400)
On Fri, 3 Dec 2004 03:08:11 + (UTC), Gabor Grothendieck [EMAIL PROTECTED] wrote : epurdom at stanford.edu writes: : : Full_Name: Elizabeth Purdom : Version: 1.9.1 : OS: Windows XP : Submission from: (NULL) (171.64.102.199) : : 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. Check out smartlengend in package gtools which is part of the gregmisc bundle. I agtee its a useful feature and it would be nice if that feature migrated to the base graphics. I've put both the title and keyword placement of the legend into legend() now, in R-devel. I was unaware of the smartlegend() function (which is actually in gplots); I've just now added an inset parameter like it has. The specification for the location is slightly different than smartlegend() uses. Because legend() handles the second parameter in a strange way and I didn't want to fiddle with that, I put the specification entirely in the first parameter: you say you want the legend at one of bottomright, bottom, bottomleft, left, topleft, top, topright, right, or center. This should be downloadable tomorrow from the CRAN mirrors. Duncan Murdoch __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Wishlist: simple legend options (PR#7400)
On Fri, Dec 03, 2004 at 08:54:54AM -0500, Duncan Murdoch wrote: On Fri, 3 Dec 2004 03:08:11 + (UTC), Gabor Grothendieck [EMAIL PROTECTED] wrote : epurdom at stanford.edu writes: : : Full_Name: Elizabeth Purdom : Version: 1.9.1 : OS: Windows XP : Submission from: (NULL) (171.64.102.199) : : 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. Check out smartlengend in package gtools which is part of the gregmisc bundle. I agtee its a useful feature and it would be nice if that feature migrated to the base graphics. I've put both the title and keyword placement of the legend into legend() now, in R-devel. I was unaware of the smartlegend() function (which is actually in gplots); I've just now added an inset parameter like it has. The specification for the location is slightly different than smartlegend() uses. Because legend() handles the second parameter in a strange way and I didn't want to fiddle with that, I put the specification entirely in the first parameter: you say you want the legend at one of bottomright, bottom, bottomleft, left, topleft, top, topright, right, or center. This should be downloadable tomorrow from the CRAN mirrors. Sweet, thanks. I'm probably not the only one who wrote simple little wrappers for that at one point. Good to have a more general solution in base. Dirk -- If your hair is standing up, then you are in extreme danger. -- http://www.usafa.af.mil/dfp/cockpit-phys/fp1ex3.htm __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
[Rd] Wishlist: simple legend options (PR#7400)
Full_Name: Elizabeth Purdom Version: 1.9.1 OS: Windows XP Submission from: (NULL) (171.64.102.199) 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 __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Wishlist: simple legend options (PR#7400)
On Thu, 2 Dec 2004 19:59:53 +0100 (CET), [EMAIL PROTECTED] wrote : Full_Name: Elizabeth Purdom Version: 1.9.1 OS: Windows XP Submission from: (NULL) (171.64.102.199) 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. I think those are both great suggestions, and not too hard to do. I'll put them into R-devel (if someone else hasn't already done so). Duncan Murdoch __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Wishlist: simple legend options (PR#7400)
epurdom at stanford.edu writes: : : Full_Name: Elizabeth Purdom : Version: 1.9.1 : OS: Windows XP : Submission from: (NULL) (171.64.102.199) : : 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. Check out smartlengend in package gtools which is part of the gregmisc bundle. I agtee its a useful feature and it would be nice if that feature migrated to the base graphics. : : 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 : : __ : R-devel at stat.math.ethz.ch mailing list : https://stat.ethz.ch/mailman/listinfo/r-devel : : __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-devel