¡@

Home 

python Programming Glossary: self.axes

Embedding a matplotlib figure inside a WxPython panel

http://stackoverflow.com/questions/10737459/embedding-a-matplotlib-figure-inside-a-wxpython-panel

parent wx.Panel.__init__ self parent self.figure Figure self.axes self.figure.add_subplot 111 self.canvas FigureCanvas self 1.. self.Fit def draw self t arange 0.0 3.0 0.01 s sin 2 pi t self.axes.plot t s if __name__ __main__ app wx.PySimpleApp fr wx.Frame..

time.sleep() required to keep QThread responsive?

http://stackoverflow.com/questions/14665636/time-sleep-required-to-keep-qthread-responsive

Figure figsize self.width self.height dpi self.dpi self.axes self.fig.add_subplot 111 self.axes.axis 0 512 0 120 self.canvas.. dpi self.dpi self.axes self.fig.add_subplot 111 self.axes.axis 0 512 0 120 self.canvas FigureCanvas self.fig self.canvas.setParent.. self.canvas.draw self.background None self.lE_line self.axes.plot range 512 0 for i in xrange 512 animated True self.hE_line..

How to reset NavigatonToolbar “history” when re-plotting data on the same axis?

http://stackoverflow.com/questions/16090069/how-to-reset-navigatontoolbar-history-when-re-plotting-data-on-the-same-axis

1 self.fig self.toolbar NavigationToolbar self.canvas self.axes self.fig.add_subplot 111 Everytime I want to plot something.. I want to plot something I just set x and y and do self.axes.plot x y color self.colours i label text self.canvas.draw As.. to the canvas. When I want to plot a new graph I call self.axes.clear self.axes.plot x y color self.colours i label text self.canvas.draw..

Deleting and Redrawing Matplotlib Animation

http://stackoverflow.com/questions/18391038/deleting-and-redrawing-matplotlib-animation

MplWidget self .__init__ self.figure self.setParent parent self.axes self.figure.add_subplot 111 projection '3d' self.axes.set_xlabel.. self.axes self.figure.add_subplot 111 projection '3d' self.axes.set_xlabel x label self.axes.set_ylabel y label self.axes.set_zlabel.. 111 projection '3d' self.axes.set_xlabel x label self.axes.set_ylabel y label self.axes.set_zlabel z label self.axes.set_xlim3d..

Matplotlib runs out of memory when plotting in a loop

http://stackoverflow.com/questions/2364945/matplotlib-runs-out-of-memory-when-plotting-in-a-loop

packages matplotlib figure.py line 773 in draw for a in self.axes a.draw renderer File C Python25 lib site packages matplotlib..

Is there a matplotlib equivalent of MATLAB's datacursormode?

http://stackoverflow.com/questions/4652439/is-there-a-matplotlib-equivalent-of-matlabs-datacursormode

artists artists artists self.artists artists self.axes tuple set art.axes for art in self.artists self.figures tuple.. in self.artists self.figures tuple set ax.figure for ax in self.axes self.annotations for ax in self.axes self.annotations ax self.annotate.. ax.figure for ax in self.axes self.annotations for ax in self.axes self.annotations ax self.annotate ax for artist in self.artists..

How can I speed up an animation?

http://stackoverflow.com/questions/5003094/how-can-i-speed-up-an-animation

def init_plot_data self self.datagen DataCollect array3d self.axes self.fig.add_subplot 111 self.axes.imshow self.datagen.next.. DataCollect array3d self.axes self.fig.add_subplot 111 self.axes.imshow self.datagen.next .T def onTimer self evt self.data self.datagen.next.. .T def onTimer self evt self.data self.datagen.next self.axes.imshow self.datagen.next .T self.canvas.draw When I resize the..

matplotlib: limits when using plot and imshow in same axes

http://stackoverflow.com/questions/9120749/matplotlib-limits-when-using-plot-and-imshow-in-same-axes

self.fig self.canvas.setMinimumSize 800 400 self.cax None self.axes self.fig.add_subplot 111 self.axes.imshow channel1 interpolation.. 800 400 self.cax None self.axes self.fig.add_subplot 111 self.axes.imshow channel1 interpolation nearest self.canvas.draw self.axes.plot.. channel1 interpolation nearest self.canvas.draw self.axes.plot dat 0 dat 1 b I've tried setting the limits before and..