mirror of
https://github.com/ParticulateFlow/LPP.git
synced 2025-12-08 06:37:46 +00:00
Committer: ckloss <ckloss@fluid38.(none)>
On branch master Initial commit for lpp, version 2011-10-11
This commit is contained in:
13
examples/test_histo.py
Normal file
13
examples/test_histo.py
Normal file
@ -0,0 +1,13 @@
|
||||
# simple test of histo tool
|
||||
# requires files/dump.kinase
|
||||
|
||||
d = dump("files/dump.kinase")
|
||||
h = histo(d)
|
||||
x,y = h.compute('x',25)
|
||||
g = gnu()
|
||||
g.xtitle("X position")
|
||||
g.ytitle("Particle Count")
|
||||
g.title("Histogram of Particle Density")
|
||||
g.plot(x,y)
|
||||
|
||||
print "all done ... type CTRL-D to exit Pizza.py"
|
||||
Reference in New Issue
Block a user