From: Christopher B. <Chr...@no...> - 2010-08-19 17:14:25
|
Nicholas Kinar wrote: > Chris, thank you very much for your response, and for the link. I've > taken a look at the wxMPL library and it looks extremely useful and > interesting. But how would I work with the class MyPanel(wx.Panel), and > embed wxMPL directly into MyPanel? Could you give an extremely simple > example (i.e. 2D plot of a sine wave)? sorry -- very short on time -- look at the wxMPL examples, understand them with pure Python, and they it should be straightforward to transfer to your situation. Note that you can put a wx.Panel in a wx.Panel, which is what you may want to do it your case. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |