Table of Contents

Class: ActivePlot AlignPlot/ActivePlot.py

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.

Base Classes   
Tkinter.Frame
Methods   
__init__
addDataSet
computeScale
computeXRange
computeYRange
deleteDataSet
redisplay
rescale
scale
setDoubleCallback
setSingleCallback
setZoom
singleTrack
unscale
xviewZoom
zoomIn
zoomOut
  __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 )


Table of Contents

This document was automatically generated on Tue Nov 5 16:56:07 2002 by HappyDoc version 2.0.1