golem.helpers.output
index
/opt/local/lib/python2.4/site-packages/golem/helpers/output.py

# pyGolem output helpers

# Part of pyGolem. See LICENSE in the root of your distribution for the license.
# Andrew Walkingshaw <andrew@lexical.org.uk>

 
Modules
       
lxml.etree
sys

 
Classes
       
__builtin__.object
pelote

 
class pelote(__builtin__.object)
    Represents a Pelote graph.
 
  Methods defined here:
__init__(self, title=None)
# main pelote class initializer
addaxis(self, orientation, position=None, title=None, numticks=None, ticks=None)
addpointlist(self, data=None)
addrange(self, floorX=None, floorY=None, ceilingX=None, ceilingY=None)
attach(self, pl)
serialize(self)
write(self, f)

Data and other attributes defined here:
__dict__ = <dictproxy object at 0x81c43d0>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of 'pelote' objects>
list of weak references to the object (if defined)
axis = <class 'golem.helpers.output.axis'>
Axis in a Pelote graph.
pointlist = <class 'golem.helpers.output.pointlist'>
Pointlist: each Pelote graph contains at least one pointlist,
which holds a list of Points (the data to be plotted)

 
Functions
       
csv(data)
Outputs x,y data in .csv format.