Thanks for responding to my plea, Ken! I've already looked at the Wiki and even looked at the code for wxMpl. From how I understand the way that wxMpl works it creates a separate instance of the WXAgg GUI. Not really what I wanted. I want to place the existing PythonCard component of the main window to display the plot. I'm sorry I haven't been more articulate .... I'm just starting to wade through this and Matplotlib has all the functionality that I need.
Ken
···
-----Original Message-----
From: Ken McIvor [mailto:mcivor@…612…]
Sent: Fri 10/28/2005 6:16 PM
To: Smith, Frank
Cc: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] Embedding in existing application window
Smith, Frank wrote:
> Is it possible to plot onto an existing application window? In particular,
> I'm developing a simple application under PythonCard whose main application
> window that already has a component that inherits from wxFloatCanvas (which in
> turn inherits, appropriately, from wxPanel). In broad strokes can anyone
> provide some hints, direction, main steps, … I feel a little clueless to
> tell the truth. I've looked at the WX, WXAgg backends but at first glance they
> are a little unyielding! I would appreciate any help … anything at all!
There's a page on this topic in the matplotlib cookbook which ought to help
you get started:
http://www.scipy.org/wikis/topical_software/EmbeddingInWx
Ken