[Matplotlib-users] find_best_location for axes ?

2008-04-24 Thread Antonino Miceli
Hi,

 I want to inset one axes within a larger one... as in
 http://matplotlib.sourceforge.net/screenshots/axes_demo.py and
 http://matplotlib.sourceforge.net/screenshots/axes_demo_small.png

 but I was wondering if there is an option similar to best location
 in the legend function. So, instead of hardwiring, like:
 a = axes([.65, .6, .2, .2], axisbg='y'), I like it automatically place
 the inset in a best location!

 Thanks,
 Nino

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] find_best_location for axes ?

2008-04-24 Thread John Hunter
On Thu, Apr 24, 2008 at 4:11 PM, Antonino Miceli [EMAIL PROTECTED] wrote:
 Hi,

   I want to inset one axes within a larger one... as in
   http://matplotlib.sourceforge.net/screenshots/axes_demo.py and
   http://matplotlib.sourceforge.net/screenshots/axes_demo_small.png

   but I was wondering if there is an option similar to best location
   in the legend function. So, instead of hardwiring, like:
   a = axes([.65, .6, .2, .2], axisbg='y'), I like it automatically place
   the inset in a best location!

There isn't any such function, but you could look at the legend code
for loc=best for inspiration if you want t roll your own.

JDH

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users