Package nltk :: Package draw :: Module plot :: Class PlotFrameI
[hide private]
[frames] | no frames]

Class PlotFrameI

source code

object --+
         |
        PlotFrameI
Known Subclasses:

A frame for plotting graphs. If BLT is present, then we use BLTPlotFrame, since it's nicer. But we fall back on CanvasPlotFrame if BLTPlotFrame is unavaibale.

Instance Methods [hide private]
 
postscript(self, filename)
Print the contents of the plot to the given file
source code
 
config_axes(self, xlog, ylog)
Set the scale for the axes (linear/logarithmic)
source code
 
invtransform(self, x, y)
Transform pixel coordinates to plot coordinates
source code
 
zoom(self, i1, j1, i2, j2)
Zoom to the given range
source code
 
visible_area(self)
Return the visible area rect (in plot coordinates)
source code
 
create_zoom_marker(self)
mark the zoom region, for drag-zooming
source code
 
adjust_zoom_marker(self, x0, y0, x1, y1)
adjust the zoom region marker, for drag-zooming
source code
 
delete_zoom_marker(self)
delete the zoom region marker (for drag-zooming)
source code
 
bind(self, *args)
bind an event to a function
source code
 
unbind(self, *args)
unbind an event
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__