from jhplot import *
from jhplot.math.StatisticSample import *
a=randomLogNormal(1000,0,1)
# get statistics
p0=P0D(a)
print p0.getStat()
# make histogram
h=H1D("LogNormal",30,0,1)
h.fill(a)
c1 = HPlot("LogNormal")
c1.setGTitle("LogNormal")
c1.setRange(0,1,0,100)
c1.visible()
c1.draw(h)
Ads help maintain this website.