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
`` | makeLine(self, points, **attr)
`` | makeStep(self, points, **attr)
`` | makeHistogram(self, points, **attr) Makes a histogram graph.
`` | makeSymbols(self, points, **attr)
`` | makeBars(self, points, **attr)
`` | makeGraphObjects(self, objects)
`` | makeGraphBase(self, master, width, height, background='white', title="", xtitle='', ytitle='', **kw)
`` | graphMenu(self, root, graph) To provide a File menu (postscript output, more to come) to the plotxxxx plots
`` | 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.
`` | 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.
`` | 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.
`` | 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.
`` | 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')
`` | mainloop(self)
Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__str__`

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)

### makeLine(self, points, **attr) | source code
None

### makeStep(self, points, **attr) | source code
None

### makeHistogram(self, points, **attr) | source code
Makes a histogram graph. 'points' must be a Histogram-like object.

### makeSymbols(self, points, **attr) | source code
None

### makeBars(self, points, **attr) | source code
None

### makeGraphObjects(self, objects) | source code
None

### makeGraphBase(self, master, width, height, background='white', title="", xtitle='', ytitle='', **kw) | source code
None

### graphMenu(self, root, graph) | source code
To provide a File menu (postscript output, more to come) to the plotxxxx plots

### 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.

### 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
None

### mainloop(self) | source code
None