Re: [Matplotlib-users] Zooming plot and transforms...

2009-07-04 Thread Fabrice Silva
Le mardi 30 juin 2009 à 13:21 -0400, Jae-Joon Lee a écrit : > Hi Fabrice, > > Good to hear that you were able to get it work. > Here is some tweak on transforms. > This way, the plot is shown correctly even if you change the y-limits of axes. > > trans0 = blended_transform_factory(ax0.transDa

Re: [Matplotlib-users] Zooming plot and transforms...

2009-07-01 Thread Fabrice Silva
Le mercredi 01 juillet 2009 à 10:13 +0200, Sandro Tosi a écrit : > On Tue, Jun 30, 2009 at 14:12, Fabrice Silva wrote: > > Le lundi 29 juin 2009 à 16:11 -0400, Jae-Joon Lee a écrit : > >> In the svn version of matplotlib, there are some helper classes to > >> ease this job a bit. > > Thanks for you

Re: [Matplotlib-users] Zooming plot and transforms...

2009-07-01 Thread Sandro Tosi
On Tue, Jun 30, 2009 at 14:12, Fabrice Silva wrote: > Le lundi 29 juin 2009 à 16:11 -0400, Jae-Joon Lee a écrit : >> In the svn version of matplotlib, there are some helper classes to >> ease this job a bit. > Thanks for your pointer. Sadly the mpl.toolkits.axes_grid is not shipped > by debian pack

Re: [Matplotlib-users] Zooming plot and transforms...

2009-06-30 Thread Jae-Joon Lee
Hi Fabrice, Good to hear that you were able to get it work. Here is some tweak on transforms. This way, the plot is shown correctly even if you change the y-limits of axes. trans0 = blended_transform_factory(ax0.transData, ax0.transAxes) trans1 = blended_transform_factory(ax1.transData, a

Re: [Matplotlib-users] Zooming plot and transforms...

2009-06-29 Thread Jae-Joon Lee
I think the issue here is to connect points in two different axes, which is possible but can be a bit difficult. In the svn version of matplotlib, there are some helper classes to ease this job a bit. I'm attaching the example. I think you can also run the example with 0.98.5.3. Just download ins

Re: [Matplotlib-users] Zooming plot and transforms...

2009-06-29 Thread Ryan May
On Mon, Jun 29, 2009 at 12:12 PM, Gökhan SEVER wrote: > On Mon, Jun 29, 2009 at 7:39 AM, Fabrice Silva > wrote: > > Le lundi 29 juin 2009 à 07:51 -0400, Pierre GM a écrit : > >> Check the plotting routines in scikits.timeseries > >> (pytseries.sourceforge.net), there's some zooming functions that

Re: [Matplotlib-users] Zooming plot and transforms...

2009-06-29 Thread Fabrice Silva
Le lundi 29 juin 2009 à 14:39 +0200, Fabrice Silva a écrit : > I merely wanted to add a Polygon patch between the upper and the lower > subplots, but using data coordinates from these axes. One more precision : my intent is to draw a figure 'statically', I do not need event handling, ie handling m

Re: [Matplotlib-users] Zooming plot and transforms...

2009-06-29 Thread Gökhan SEVER
On Mon, Jun 29, 2009 at 7:39 AM, Fabrice Silva wrote: > Le lundi 29 juin 2009 à 07:51 -0400, Pierre GM a écrit : >> Check the plotting routines in scikits.timeseries >> (pytseries.sourceforge.net), there's some zooming functions that could >> get you started. > > Thanks to point to this scikit, but

Re: [Matplotlib-users] Zooming plot and transforms...

2009-06-29 Thread Fabrice Silva
Le lundi 29 juin 2009 à 07:51 -0400, Pierre GM a écrit : > Check the plotting routines in scikits.timeseries > (pytseries.sourceforge.net), there's some zooming functions that could > get you started. Thanks to point to this scikit, but I looked into the lib.plotlib module, and I didn't manage

[Matplotlib-users] Zooming plot and transforms...

2009-06-29 Thread Fabrice Silva
Hello everybody, I wonder whether it is possible to produce something like the zooming plot example from http://code.enthought.com/projects/chaco/gallery.php using only matplotlib. I've done some tests, I think transforms may be helpful but I do not know ho to use them... ---