Home | Trees | Indices | Help |
---|
|
SimPlot 1.8 Provides basic plotting services based on Tk/Tkinter. LICENSE: Copyright (C) 2002, 2005,2006,2007 Klaus G. Muller, Tony Vignaux mailto: kgmuller@xs4all.nl and Tony.Vignaux@vuw.ac.nz This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA END OF LICENSE Derived from plotting package in Grayson's Tkinter book. The idea to use this package came from Prof. Simon Frost of U of California, San Diego who also strongly contributed to the design and implementation of SimPlot. Change history: Nov 2, 2003 : Combined utils.py (also from Grayson) with plotting package. Nov 11, 2003: Made totally OO Dec 16, 2003: Completion of SimPlot 1.4alpha Feb 2004: Release with SimPy 1.4 Aug 27, 2005: Added tests for empty point sets to plotXXX functions.
|
|||
| SimPlot | ||
| GraphPoints | ||
| GraphLine | ||
| GraphSymbols | ||
| GraphBars | ||
| GraphObjects | ||
| GraphBase | ||
| TextBox |
|
|||
| minCoordinate(clist) | ||
| maxCoordinate(clist) | ||
| minBound(clist) | ||
| maxBound(clist) |
|
|||
|
__version__ = '1.8 $Revision: 1.1.1.14 $ $Date: 2007/01/08 14:47:1...
|
||
|
root = Tk()
|
||
|
plt = SimPlot()
|
||
|
root1 = Tk()
|
||
|
di = 5.0* pi/ 40.
|
||
|
data = []
|
||
|
line1 = plt.makeLine(data, color= 'black', width= 1, smooth= 1)
|
||
|
line1a = plt.makeBars(data [1:], color= 'blue', fillstyle= 'g...
|
||
|
graphObject = plt.makeGraphObjects([line1a, line1])
|
||
|
line2 = plt.makeBars([(0, 0), (1, 145), (2,-90), (3, 147), (...
|
||
|
graphObject2 = plt.makeGraphObjects([line2])
|
||
|
line3 = plt.makeLine([(1, 145+ 100), (2, 151+ 100), (3, 147+...
|
||
|
line3a = plt.makeLine([(1, 145), (2, 151), (3, 147), (4, 22),...
|
||
|
line3b = plt.makeStep([(1, 145+ 100), (2, 151+ 100), (3, 147+...
|
||
|
graphObject3 = plt.makeGraphObjects([line3, line3a, line3b])
|
||
|
line4 = plt.makeSymbols([(1, 100), (2, 100), (3, 100), (4, 1...
|
||
|
line5 = plt.makeSymbols([(1, 200), (2, 200), (3, 200), (4, 2...
|
||
|
line6 = plt.makeSymbols([(1, 300), (2, 300), (3, 300), (4, 3...
|
||
|
line7 = plt.makeSymbols([(1, 400), (2, 400), (3, 400), (4, 4...
|
||
|
line8 = plt.makeSymbols([(1, 500), (2, 500), (3, 500), (4, 5...
|
||
|
line9 = plt.makeSymbols([(1, 600), (2, 600), (3, 600), (4, 6...
|
||
|
line10 = plt.makeSymbols([(1, 700), (2, 700), (3, 700), (4, 7...
|
||
|
line11 = plt.makeSymbols([(1, 800), (2, 800), (3, 800), (4, 8...
|
||
|
graphObject4 = GraphObjects([line4, line5, line6, line7, line8, lin...
|
||
|
f1 = Frame(root)
|
||
|
f2 = Frame(root1)
|
||
|
graph = {}
|
|
|
|
|
|
|
__version__None
|
rootNone
|
pltNone
|
root1None
|
diNone
|
dataNone
|
line1None
|
line1aNone
|
graphObjectNone
|
line2None
|
graphObject2None
|
line3None
|
line3aNone
|
line3bNone
|
graphObject3None
|
line4None
|
line5None
|
line6None
|
line7None
|
line8None
|
line9None
|
line10None
|
line11None
|
graphObject4None
|
f1None
|
f2None
|
graphNone
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0alpha3 on Wed Jan 31 11:14:53 2007 | http://epydoc.sourceforge.net |