Skip to content
Back to formatted view

Raw Message

Message-ID: <49F92C45.5030506@vanderbilt.edu>
Date: 2009-04-30T04:42:45Z
From: Frank E Harrell Jr
Subject: Legend best position
In-Reply-To: <1d4af48f0904292051r2ed2eb19t65ffe8f1763c4a7@mail.gmail.com>

This may not be what you are wanting but see the labcurve function in 
the Hmisc package, which helps you position things in the 'most empty' 
portions of the graphics region.

Frank E Harrell Jr   Professor and Chair           School of Medicine
                     Department of Biostatistics   Vanderbilt University



Christian Bustamante wrote:
> Hi all,
>
> I'm doing a lot of plots and all of them should have a legend. The
> problem is that this legend not always have to be in the same place,
> because some plots can override the legend box. I'm wondering if there
> exist a command that "optimally" allocate the legend position, I'm
> refer to a MATLAB's command'slegend and it's option "Best". Exist?
> What is?
>
> Bests regards
>
>