Hi, All:
I have a question about wxpython data plot.
The wx.lib.plot can do the data plot. But I wonder if it is
possible to add a background image to the plot.
And if wx.lib.plot can not do that, is there any other way to do
that?
I have a question about wxpython data plot.
The wx.lib.plot can do the data plot. But I wonder if it is
possible to add a background image to the plot.
I don't think it can do it now, but the code is not too hard to figure out, it wouldn't be that hard to add.
And if wx.lib.plot can not do that, is there any other way to do
that?
You might want to look at matplotlib -- it has many more capabilities, and can be embedded in a wx app pretty easily.
and the "embedding_in_wx" examples and docs in the MPL distribution.
-Chris
···
On 3/31/11 10:38 PM, zhengqing wrote:
--
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
You can probably do it by overriding some method(s) from the Plot classes. PlotCanvas.Clear looks like a likely candidate.
···
On 3/31/11 10:38 PM, zhengqing wrote:
Hi, All:
I have a question about wxpython data plot.
The wx.lib.plot can do the data plot. But I wonder if it is
possible to add a background image to the plot.
And if wx.lib.plot can not do that, is there any other way to do
that?