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鈥檙e right, it鈥檚 the chaco鈥檚 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鈥檛 know of a straight-forward version of

chaco鈥檚 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
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