Jason Rupert
2009-Jun-11 20:35 UTC
[R] Automatically placing legend in location of most whitespace.
Just read the following: https://stat.ethz.ch/pipermail/r-help/2003-October/039940.html Is the labcurve function, really the putKey function, in the Hmisc package the best way the to go about automatically placing legend in location of most whitespace? Thanks for any insights.
Jim Lemon
2009-Jun-12 09:21 UTC
[R] Automatically placing legend in location of most whitespace.
Jason Rupert wrote:> Just read the following: > https://stat.ethz.ch/pipermail/r-help/2003-October/039940.html > > Is the labcurve function, really the putKey function, in the Hmisc package the best way the to go about automatically placing legend in location of most whitespace? > >Hi Jason, I wasn't aware of the largest.empty function (thanks), and the code is packed away in a Fortran routine, so I couldn't compare it to the emptyspace function in the plotrix package. However, I suspect that largest.empty is a more sophisticated way of finding space for a legend. Jim