46 def Plot(cat, obj, parent, id):
47 from mpl_toolkits.mplot3d
import Axes3D
48 import matplotlib.ticker
as ticker
49 from matplotlib
import cm
50 import matplotlib
as mpl
51 import matplotlib.pyplot
as plt
57 title =
'Acquisition Channel(s) ' 59 channels=obj.channels()
66 fig.suptitle(title, fontsize=14, fontweight=
'bold')
71 for c
in range(0,nch):
72 for d
in range(0,depth):
73 pl=fig.add_subplot(depth+2,nch,c+d*nch+1)
74 h=
h1d(pl,obj.hist1d(index), facecolor=
'red',linestyle=
'dashed')
75 pl.xaxis.set_ticks([obj.hist1d(index).minX(),(obj.hist1d(index).maxX()-obj.hist1d(index).minX())/2.,obj.hist1d(index).maxX()])
80 pl=fig.add_subplot(depth+2,nch,c+depth*nch+1)
81 h=
h1d(pl,obj.hist1d(index), facecolor=
'blue',linestyle=
'dashed')
84 pl=fig.add_subplot(depth+2,nch,c+(depth+1)*nch+1)
85 h=
h1d(pl,obj.hist1d(index), facecolor=
'green',linestyle=
'dashed')
90 def Plot(cat, obj, parent, id)
def h1d(fig, histo, alpha=0.5, facecolor='green', edgecolor='yellow', linestyle='dashed')