Files
LPP/examples/test_histo.py
ckloss 80592c0da1 Committer: ckloss <ckloss@fluid38.(none)>
On branch master
 Initial commit for lpp, version 2011-10-11
2012-02-03 14:10:31 +01:00

14 lines
289 B
Python

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