Home | Trees | Index | Help |
|
---|
Module wxmpl :: Class PlotPanel |
|
FigureCanvasBase
--+ |FigureCanvasAgg
--+ |FigureCanvasBase
--+ | | |wxObjectPtr
--+ | | | | |wxEvtHandlerPtr
--+ | | | | |wxWindowPtr
--+ | | | | |wxPanelPtr
--+ | | | | |wxPanel
--+ | | |FigureCanvasWx
--+ |FigureCanvasWxAgg
--+ | PlotPanel
Method Summary | |
---|---|
Creates a new PlotPanel window that is the child of the wxPython window parent with the wxPython identifier
id . | |
Draw the associated Figure onto the screen. | |
Returns the figure associated with this canvas. | |
Called by the associated PlotPanelDirector to emit a
PointEvent . | |
Called by the associated PlotPanelDirector to emit a
SelectionEvent . | |
Handles the wxPython window activation event. | |
Handles the wxPython window destruction event. | |
Overrides the wxPython backround repainting event to reduce flicker. | |
Enable or disable drawing crosshairs through the mouse cursor when it is inside a matplotlib axes. | |
Enable or disable the changing mouse cursor. | |
Enable or disable the display of the matplotlib axes coordinates of the mouse in the lower left corner of the canvas. | |
Enable or disable area selections, where user selects a rectangular area of the canvas by left-clicking and dragging the mouse. | |
Enable or disable zooming in when the user makes an area selection and zooming out again when the user right-clicks. | |
Returns a boolean indicating whether or not the axes is
zoomed in. | |
Returns the X and Y coordinates of a wxPython event object converted to matplotlib canavas coordinates. | |
Returns the first toplevel parent of this window. | |
Overrides the FigureCanvasWxAgg key-press event handler,
dispatching the event to the associated
PlotPanelDirector . | |
Overrides the FigureCanvasWxAgg key-release event
handler, dispatching the event to the associated
PlotPanelDirector . | |
Overrides the FigureCanvasWxAgg left-click event handler,
dispatching the event to the associated
PlotPanelDirector . | |
Overrides the FigureCanvasWxAgg left-click-release event
handler, dispatching the event to the associated
PlotPanelDirector . | |
Overrides the FigureCanvasWxAgg mouse motion event
handler, dispatching the event to the associated
PlotPanelDirector . | |
Overrides the FigureCanvasWxAgg paint event to redraw the
crosshairs, etc. | |
Overrides the FigureCanvasWxAgg right-click event
handler, dispatching the event to the associated
PlotPanelDirector . | |
Overrides the FigureCanvasWxAgg right-click-release event
handler, dispatching the event to the associated
PlotPanelDirector . | |
Inherited from FigureCanvasWxAgg | |
return the wildcard string for the filesave dialog | |
Render the figure to hardcopy | |
Inherited from FigureCanvasWx | |
| |
| |
Called when wxEventSize is generated. | |
copy bitmap of canvas to system clipboard | |
| |
Performs update of the displayed image on the GUI canvas | |
initialize printer settings using wx methods | |
generate Print Preview with wx Print mechanism | |
Print figure using wx Print mechanism | |
set up figure for printing. | |
set up figure for printing. | |
This method will be called when the system is ready to draw, eg when a GUI window is realized | |
Inherited from wxPanelPtr | |
| |
| |
| |
Inherited from wxWindowPtr | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Inherited from wxEvtHandlerPtr | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Inherited from wxObjectPtr | |
| |
Inherited from FigureCanvasAgg | |
| |
| |
| |
| |
| |
| |
Inherited from FigureCanvasBase | |
blit the canvas in bbox (default entire canvas) | |
Backend derived classes should call this function on any mouse button press. | |
Backend derived classes should call this function on any mouse button release. | |
Draw a cursor in the event.axes if inaxes is not None. | |
| |
draw only if idle; defaults to draw but backends can overrride | |
return the figure width and height in points or pixels (depending on the backend), truncated to integers | |
| |
| |
Backend derived classes should call this function on any motion-notify-event. | |
Connect event with string s to func. | |
Connect s to func. | |
instantiate an instance of FigureCanvasClass |
Class Variable Summary | |
---|---|
Inherited from FigureCanvasWx | |
dict |
keyvald = {306: 'shift', 307: 'alt', 308: 'control', 316...
|
Inherited from FigureCanvasBase | |
tuple |
events = ('key_press_event', 'key_release_event', 'butto...
|
Method Details |
---|
__init__(self,
parent,
id,
size=(6.0, 3.7000000000000002),
dpi=96,
cursor=True,
location=True,
crosshairs=True,
selection=True,
zoom=True)
|
draw(self, repaint=True)Draw the associatedFigure onto the screen.
|
get_figure(self)Returns the figure associated with this canvas. |
notify_point(self, axes, x, y)Called by the associatedPlotPanelDirector to emit a
PointEvent .
|
notify_selection(self, axes, x1, y1, x2, y2)Called by the associatedPlotPanelDirector to emit a
SelectionEvent .
|
OnActivate(self, evt)Handles the wxPython window activation event. |
OnDestroy(self, evt)Handles the wxPython window destruction event. |
OnEraseBackground(self, evt)Overrides the wxPython backround repainting event to reduce flicker. |
set_crosshairs(self, state)Enable or disable drawing crosshairs through the mouse cursor when it is inside a matplotlib axes. |
set_cursor(self, state)Enable or disable the changing mouse cursor. When enabled, the cursor changes from the normal arrow to a square cross when the mouse enters a matplotlib axes on this canvas. |
set_location(self, state)Enable or disable the display of the matplotlib axes coordinates of the mouse in the lower left corner of the canvas. |
set_selection(self, state)Enable or disable area selections, where user selects a rectangular area of the canvas by left-clicking and dragging the mouse. |
set_zoom(self, state)Enable or disable zooming in when the user makes an area selection and zooming out again when the user right-clicks. |
zoomed(self, axes)Returns a boolean indicating whether or not theaxes is
zoomed in.
|
_get_canvas_xy(self, evt)Returns the X and Y coordinates of a wxPython event object converted to matplotlib canavas coordinates. |
_get_toplevel_parent(self)Returns the first toplevel parent of this window. |
_onKeyDown(self, evt)Overrides theFigureCanvasWxAgg key-press event
handler, dispatching the event to the associated
PlotPanelDirector .
|
_onKeyUp(self, evt)Overrides theFigureCanvasWxAgg key-release event
handler, dispatching the event to the associated
PlotPanelDirector .
|
_onLeftButtonDown(self, evt)Overrides theFigureCanvasWxAgg left-click event
handler, dispatching the event to the associated
PlotPanelDirector .
|
_onLeftButtonUp(self, evt)Overrides theFigureCanvasWxAgg left-click-release
event handler, dispatching the event to the associated
PlotPanelDirector .
|
_onMotion(self, evt)Overrides theFigureCanvasWxAgg mouse motion event
handler, dispatching the event to the associated
PlotPanelDirector .
|
_onPaint(self, evt)Overrides theFigureCanvasWxAgg paint event to redraw
the crosshairs, etc.
|
_onRightButtonDown(self, evt)Overrides theFigureCanvasWxAgg right-click event
handler, dispatching the event to the associated
PlotPanelDirector .
|
_onRightButtonUp(self, evt)Overrides theFigureCanvasWxAgg right-click-release
event handler, dispatching the event to the associated
PlotPanelDirector .
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Aug 28 13:47:50 2006 | http://epydoc.sf.net |