/ . / MinrmsPlot / ActivePlot.py / ActivePlot
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
|
|
|
scale
|
scale (
self,
x,
y,
)
|
|
redisplay
|
redisplay ( self )
|
|
xviewZoom
|
xviewZoom ( self, *args )
|
|
unscale
|
unscale (
self,
ex,
ey,
)
map event coordinates (ex, ey) to data coordinates
|
|
addDataSet
|
addDataSet ( self, dataSet )
|
|
computeYRange
|
computeYRange ( self, dataSet )
|
|
setDoubleCallback
|
setDoubleCallback (
self,
cb,
closure,
)
|
|
setZoom
|
setZoom (
self,
first,
last,
)
|
|
rescale
|
rescale ( self, event )
|
|
computeScale
|
computeScale ( self )
|
|
__init__
|
__init__ (
self,
master=None,
xFormat=None,
yFormat=None,
xRange=[],
yRange=[],
xPrecision=0,
yPrecision=0,
xMargin=5,
yMargin=5,
dataSet=None,
track=Tkinter.FALSE,
zoom=Tkinter.FALSE,
singleCallback=None,
singleClosure=None,
doubleCallback=None,
doubleClosure=None,
labelCnf={},
canvasCnf={},
plotCnf={},
controlCnf={},
**cnf,
)
|
|
deleteDataSet
|
deleteDataSet ( self, dataSet )
|
|
singleTrack
|
singleTrack (
self,
closure,
ds,
n,
)
|
|
setSingleCallback
|
setSingleCallback (
self,
cb,
closure,
)
|
|
computeXRange
|
computeXRange ( self, dataSet )
|
|
|