If you use the svn version of matplotlib, you  may use axes_grid toolkit.

http://matplotlib.sourceforge.net/mpl_toolkits/axes_grid/users/overview.html#insetlocator

I think the required inset_locator module actually does not depend on
other modules in axes_grid, so if you're not using svn, you may just
download inset_locator.py and use it.
But still, you need to have 0.98.5.3 installed.

http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/trunk/matplotlib/lib/mpl_toolkits/axes_grid/inset_locator.py?view=markup

-JJ


On Wed, Jul 8, 2009 at 6:24 AM, Robin<robi...@gmail.com> wrote:
> Hi,
>
> I'm sure its a bit lazy to ask but I can't think of the right keywords
> to search for...
>
> I would like to produce a plot with a zoomed in box detail section.
> What I have in mind is a plot of an exponentially decaying line with
> some fine detail, so I would like the main plot to show the scale of
> the exponential decay, but then in the large space in the
> center/top/right of the plot I would like to have a zoomed in box
> showing more detail of a particular bit to show the level of the noise
> etc.
>
> No idea where to start with acheiving this so I thought I'd ask if
> anyone has done anything similar or if there would be any examples on
> the web site - or whether it would be easier just to produce 2 plots
> at different scales then chop them together in a graphics editing
> program. (I thought of inkscape, but in the past when I've tried to
> edit matplotlib vector output it messed up the fonts - or at least
> changed them - so I'm not sure if theres a better program, or some
> trick to using it).
>
> Cheers
>
> Robin
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to