as usual, I am using wxPython + MatPlotLib to create nice interfaces
+ nice plots. However, I'm having a problem (probably I am unable to find
the right code to do it) in putting together 2 plots. This is the situation:
In some way, I have calculated a CDF of a Numeric array, and I can easily
plot it using the sequence:
self.fig = Figure()
self.canvas = FigureCanvas(self, -1, self.fig)
axdata = self.fig.add_subplot(111)
mp = axdata.plot(CDF,ArrayFromZeroToOne,'b-')
Now, I would like to add the histogram of my array to the same figure, but
I'm getting nowhere. The histogram is not displayed.
Note that I am *not* importing Pylab or similar, I use:
from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigureCanvas
from matplotlib.backends.backend_wx import NavigationToolbar2Wx
from matplotlib.figure import Figure
Is there a way to add an histogram to my subplot?
Thank you for every suggestion.