Table of Contents

Class: DataSet AlignPlot/ActivePlot.py

DataSet presents data points as unconnected items on the plot. Data is one of: two arrays (first is x; second is y), array of tuples (components 0 and 1 are x and y), or a single array of values (index is x, value is y).

Methods   
__init__
circle
createItems
deleteItems
getX
getY
highlight
highlightCircle
length
replaceData
setDoubleCallback
setSingleCallback
setTag
  __init__ 
__init__ (
        self,
        x,
        y=None,
        makeItem=None,
        highlightItem=None,
        itemWidth=2,
        itemHeight=2,
        itemXShift=0,
        itemYShift=0,
        baseColor='black',
        highlightColor='red',
        )

  circle 
circle (
        self,
        canvas,
        x,
        y,
        color,
        )

  createItems 
createItems ( self )

  deleteItems 
deleteItems ( self )

  getX 
getX ( self,  n )

  getY 
getY ( self,  n )

  highlight 
highlight ( self,  n )

  highlightCircle 
highlightCircle (
        self,
        item,
        color,
        )

  length 
length ( self )

  replaceData 
replaceData (
        self,
        x,
        y=None,
        )

  setDoubleCallback 
setDoubleCallback (
        self,
        cb,
        closure,
        )

  setSingleCallback 
setSingleCallback (
        self,
        cb,
        closure,
        )

  setTag 
setTag (
        self,
        plot,
        tag,
        )


Table of Contents

This document was automatically generated on Wed Mar 26 19:02:00 2003 by HappyDoc version 2.1