ActivePlot manages the layout for several types of datasets
(scatter, serial bar, etc.). The display is also an
user interface: when the user clicks on a data elements,
registered callbacks are invoked.
Methods
|
|
|
|
__init__
|
__init__ (
self,
master=None,
xFormat=None,
yFormat=None,
xRange=[],
yRange=[],
xPrecision=0,
yPrecision=0,
xMargin=5,
yMargin=5,
dataSet=None,
track=Tkconstants.FALSE,
zoom=Tkconstants.FALSE,
singleCallback=None,
singleClosure=None,
doubleCallback=None,
doubleClosure=None,
labelCnf={},
canvasCnf={},
plotCnf={},
controlCnf={},
**cnf,
)
|
|
addDataSet
|
addDataSet ( self, dataSet )
|
|
computeScale
|
computeScale ( self )
|
|
computeXRange
|
computeXRange ( self, dataSet )
|
|
computeYRange
|
computeYRange ( self, dataSet )
|
|
deleteDataSet
|
deleteDataSet ( self, dataSet )
|
|
redisplay
|
redisplay ( self )
|
|
rescale
|
rescale ( self, event )
|
|
scale
|
scale (
self,
x,
y,
)
|
|
setDoubleCallback
|
setDoubleCallback (
self,
cb,
closure,
)
|
|
setSingleCallback
|
setSingleCallback (
self,
cb,
closure,
)
|
|
setZoom
|
setZoom (
self,
first,
last,
)
|
|
singleTrack
|
singleTrack (
self,
closure,
ds,
n,
)
|
|
unscale
|
unscale (
self,
ex,
ey,
)
map event coordinates (ex, ey) to data coordinates
|
|
xviewZoom
|
xviewZoom ( self, *args )
|
|
zoomIn
|
zoomIn ( self )
|
|
zoomOut
|
zoomOut ( self )
|
|