code searching

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 :slight_smile:
Thanks

···

--
Lionel Roubeyrie
chargé d'études
LIMAIR - La Surveillance de l'Air en Limousin
http://www.limair.asso.fr

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 :slight_smile:
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

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 :slight_smile:
> 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

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. :slight_smile:

Ryan

···

--
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma

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

···

On Fri, Feb 6, 2009 at 10:56 AM, Ryan May <rmay31@...287...> 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. :slight_smile:

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

···

On Fri, Feb 6, 2009 at 1:10 PM, John Hunter <jdh2358@…2015…87…> wrote:

On Fri, Feb 6, 2009 at 10:56 AM, Ryan May <rmay31@…287…> 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. :slight_smile:

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


Ryan May
Graduate Research Assistant

School of Meteorology
University of Oklahoma

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 <rmay31@...287...> 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. :slight_smile:

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
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

--
Lionel Roubeyrie
chargé d'études
LIMAIR - La Surveillance de l'Air en Limousin
http://www.limair.asso.fr