mirror of
https://github.com/ParticulateFlow/LPP.git
synced 2025-12-08 06:37:46 +00:00
add from __future__ import print statement -> print() function xrange -> range map() -> list(map()) range() -> list(range()) StandardError -> Exception
19 lines
285 B
Python
19 lines
285 B
Python
# simple test of plotview tool
|
|
# requires files/log.obstacle
|
|
# creates tmp.plotview.eps
|
|
|
|
lg = log("files/log.obstacle")
|
|
g = gnu()
|
|
p = plotview(lg,g)
|
|
|
|
p.select(1)
|
|
p.select(6)
|
|
p.yes(2)
|
|
p.yes(5)
|
|
p.no(2)
|
|
|
|
p.file("tmp.plotview")
|
|
p.save()
|
|
|
|
print("all done ... type CTRL-D to exit Pizza.py")
|