Message-ID: <49F971F7.7020608@bitwrit.com.au>
Date: 2009-04-30T09:40:07Z
From: Jim Lemon
Subject: Legend best position
In-Reply-To: <49F92C45.5030506@vanderbilt.edu>
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?
It's not perfect, but the emptyspace function in the plotrix package
does a reasonable job if the plot isn't really full.
Jim