|
From: Lionel R. <lro...@li...> - 2009-02-05 13:33:23
|
Hi all, On the matplotlib website I can't find an "old" example code showing a figure with two vertical plots, where the second represents a "zoom" of some selected datas in a rectangle of the first axis, and between the two axis there was a trapezoid. If someone has this code, I'll be happy to get it :) Thanks -- Lionel Roubeyrie chargé d'études LIMAIR - La Surveillance de l'Air en Limousin http://www.limair.asso.fr |
|
From: Ryan M. <rm...@gm...> - 2009-02-05 16:41:34
|
Lionel Roubeyrie wrote: > Hi all, > On the matplotlib website I can't find an "old" example code showing a > figure with two vertical plots, where the second represents a "zoom" of > some selected datas in a rectangle of the first axis, and between the > two axis there was a trapezoid. > If someone has this code, I'll be happy to get it :) > Thanks I don't remember a demo like that in matplotlib, but I do remember such a demo for Chaco2. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma |
|
From: Lionel R. <lro...@li...> - 2009-02-06 12:07:13
|
You're right, it's the chaco's zooming plot, I confused. Is there a way to have this render with matplotlib? Le jeudi 05 février 2009 à 10:41 -0600, Ryan May a écrit : > Lionel Roubeyrie wrote: > > Hi all, > > On the matplotlib website I can't find an "old" example code showing a > > figure with two vertical plots, where the second represents a "zoom" of > > some selected datas in a rectangle of the first axis, and between the > > two axis there was a trapezoid. > > If someone has this code, I'll be happy to get it :) > > Thanks > > I don't remember a demo like that in matplotlib, but I do remember such a demo > for Chaco2. > > Ryan > -- Lionel Roubeyrie chargé d'études LIMAIR - La Surveillance de l'Air en Limousin http://www.limair.asso.fr |
|
From: Ryan M. <rm...@gm...> - 2009-02-06 16:56:37
|
Lionel Roubeyrie wrote: > You're right, it's the chaco's zooming plot, I confused. > Is there a way to have this render with matplotlib? The event_handling/zoom_window.py example is kind of similar and might give some clues of where to go. But no, I don't know of a straight-forward version of chaco's example using matplotlib. Patches are accepted. :) Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma |
|
From: John H. <jd...@gm...> - 2009-02-06 19:10:08
|
On Fri, Feb 6, 2009 at 10:56 AM, Ryan May <rm...@gm...> wrote: > Lionel Roubeyrie wrote: >> You're right, it's the chaco's zooming plot, I confused. >> Is there a way to have this render with matplotlib? > > The event_handling/zoom_window.py example is kind of similar and might give some > clues of where to go. But no, I don't know of a straight-forward version of > chaco's example using matplotlib. Patches are accepted. :) The following example is pretty close to what you want I think -- select a span in the upper axes to see the zoom in the lower: http://matplotlib.sourceforge.net/examples/widgets/span_selector.html JDH |
|
From: Ryan M. <rm...@gm...> - 2009-02-06 20:03:06
|
On Fri, Feb 6, 2009 at 1:10 PM, John Hunter <jd...@gm...> wrote: > On Fri, Feb 6, 2009 at 10:56 AM, Ryan May <rm...@gm...> wrote: > > Lionel Roubeyrie wrote: > >> You're right, it's the chaco's zooming plot, I confused. > >> Is there a way to have this render with matplotlib? > > > > The event_handling/zoom_window.py example is kind of similar and might > give some > > clues of where to go. But no, I don't know of a straight-forward version > of > > chaco's example using matplotlib. Patches are accepted. :) > > The following example is pretty close to what you want I think -- > select a span in the upper axes to see the zoom in the lower: > > http://matplotlib.sourceforge.net/examples/widgets/span_selector.html > > You know, in the back of my mind I just knew I was wrong, but had forgotten about this one. Thanks for jogging my memory. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma |
|
From: Lionel R. <lro...@li...> - 2009-02-09 09:19:08
|
Thanks John, it's what I need. Le vendredi 06 février 2009 à 13:10 -0600, John Hunter a écrit : > On Fri, Feb 6, 2009 at 10:56 AM, Ryan May <rm...@gm...> wrote: > > Lionel Roubeyrie wrote: > >> You're right, it's the chaco's zooming plot, I confused. > >> Is there a way to have this render with matplotlib? > > > > The event_handling/zoom_window.py example is kind of similar and might give some > > clues of where to go. But no, I don't know of a straight-forward version of > > chaco's example using matplotlib. Patches are accepted. :) > > The following example is pretty close to what you want I think -- > select a span in the upper axes to see the zoom in the lower: > > http://matplotlib.sourceforge.net/examples/widgets/span_selector.html > > JDH > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Lionel Roubeyrie chargé d'études LIMAIR - La Surveillance de l'Air en Limousin http://www.limair.asso.fr |