[Rd] Wishlist: simple legend options (PR#7400)

Duncan Murdoch murdoch at stats.uwo.ca
Thu Dec 2 20:49:19 CET 2004


On Thu,  2 Dec 2004 19:59:53 +0100 (CET), epurdom at stanford.edu 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



More information about the R-devel mailing list