4 from libCatKernel
import *
5 from matplotlib.path
import Path
6 import matplotlib.patches
as patches
10 proc.__init__(self,cat,obj,panel,path)
13 self.panel.Bind(wx.EVT_BUTTON, self.onApply, id=xrc.XRCID(
"Apply"))
16 print "Not implemented" 20 def Edit (cat, obj, panel, path):
25 def Plot(cat, obj, parent, id):
26 from mpl_toolkits.mplot3d
import Axes3D
27 from matplotlib
import cm
28 import matplotlib
as mpl
29 import matplotlib.pyplot
as plt
34 fig.suptitle(
'A3PE Bit Flip - Results', fontsize=14, fontweight=
'bold')
37 p1=fig.add_subplot(3,1,1)
38 h1=
h1d(p1, obj.hist1d(0), facecolor=
'green',linestyle=
'dashed')
39 p1.set_title(obj.hist1d(0).
title())
43 p2=fig.add_subplot(3,1,2)
46 p2.plot(h2.xbins(),h2.bins(),
'ro',color=
'red')
47 p2.set_title(obj.hist1d(1).
title())
51 p3=fig.add_subplot(3,1,3)
52 h3=
h1d(p3, obj.hist1d(2))
53 p3.set_title(obj.hist1d(2).
title())
def Edit(cat, obj, panel, path)
def h1d(fig, histo, alpha=0.5, facecolor='green', edgecolor='yellow', linestyle='dashed')
def Plot(cat, obj, parent, id)
def __init__(self, cat, obj, panel, path)