Package SimPy :: Module SimPlot :: Class SimPlot
[hide private]
[frames] | no frames]

Class SimPlot

source code

object --+
         |
        SimPlot

Instance Methods [hide private]
 
__init__(self, root=Tk())
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
makeLine(self, points, **attr) source code
 
makeStep(self, points, **attr) source code
 
makeHistogram(self, points, **attr)
Makes a histogram graph.
source code
 
makeSymbols(self, points, **attr) source code
 
makeBars(self, points, **attr) source code
 
makeGraphObjects(self, objects) source code
 
makeGraphBase(self, master, width, height, background='white', title='', xtitle='', ytitle='', **kw) source code
 
graphMenu(self, root, graph)
To provide a File menu (postscript output, more to come) to the plotxxxx plots
source code
 
plotLine(self, points, windowsize=(500, 300), title='', width=1, color='black', smooth=0, background='white', xlab='x', ylab='y', xaxis='automatic', yaxis='automatic')
Generates a line chart, with menu to save as Postscript file.
source code
 
plotStep(self, points, windowsize=(500, 300), title='', width=1, color='black', background='white', xlab='x', ylab='y', xaxis='automatic', yaxis='automatic')
Generates a step chart, with menu to save as Postscript file.
source code
 
plotHistogram(self, points, windowsize=(500, 300), title='', width=1, color='black', background='white', xlab='x', ylab='y', xaxis='automatic', yaxis='automatic')
Makes a histogram plot.
source code
 
plotBars(self, points, windowsize=(500, 300), title='', color='black', width=1, size=3, fillcolor='black', fillstyle='', outline='black', background='white', xlab='x', ylab='y', xaxis='automatic', yaxis='automatic', anchor=0.0)
Generates a bar chart, with menu to save as Postscript file.
source code
 
plotScatter(self, points, windowsize=(500, 300), title='', width=1, color='black', fillcolor='black', size=2, fillstyle='', outline='black', marker='circle', background='white', xlab='x', ylab='y', xaxis='automatic', yaxis='automatic') source code
 
mainloop(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, root=Tk())
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

makeHistogram(self, points, **attr)

source code 

Makes a histogram graph. 'points' must be a Histogram - like object.

plotLine(self, points, windowsize=(500, 300), title='', width=1, color='black', smooth=0, background='white', xlab='x', ylab='y', xaxis='automatic', yaxis='automatic')

source code 

Generates a line chart, with menu to save as Postscript file. 'points' can be a Monitor instance.

plotStep(self, points, windowsize=(500, 300), title='', width=1, color='black', background='white', xlab='x', ylab='y', xaxis='automatic', yaxis='automatic')

source code 

Generates a step chart, with menu to save as Postscript file. 'points' can be a Monitor instance.

plotHistogram(self, points, windowsize=(500, 300), title='', width=1, color='black', background='white', xlab='x', ylab='y', xaxis='automatic', yaxis='automatic')

source code 

Makes a histogram plot. 'points' can be a Monitor instance.

plotBars(self, points, windowsize=(500, 300), title='', color='black', width=1, size=3, fillcolor='black', fillstyle='', outline='black', background='white', xlab='x', ylab='y', xaxis='automatic', yaxis='automatic', anchor=0.0)

source code 

Generates a bar chart, with menu to save as Postscript file. 'points' can be a Monitor instance.