48 def Plot(cat, obj, parent, id):
49 from mpl_toolkits.mplot3d
import Axes3D
50 from matplotlib
import cm
51 import matplotlib
as mpl
52 import matplotlib.pyplot
as plt
58 fig.suptitle(
'UsbFT Interface - Test Program', fontsize=14, fontweight=
'bold')
62 p1=fig.add_subplot(2,2,1)
63 p1.plot(p.data(0),
'bo')
64 p1.set_title(
r'$\sigma='+str(p.sigma())+
'\ \mu='+str(p.mean())+
'$')
65 p1.set_ylabel(
'Values')
68 plt.hist(p.data().vector(0), 20)
69 plt.title(p.data().title(0))
72 p3=fig.add_subplot(2,2,3)
73 p3.plot(p.data(3),
'bs', p.data(4),
'g^')
74 p3.set_title(
r'Time (Write/Read)')
75 p3.set_ylabel(
'Values')
77 p4=fig.add_subplot(2,2,4)
78 p4.plot(p.data(1),
'k')
79 p4.set_title(
r'Errors (Write)')
80 p4.set_ylabel(
'Values')
83 def Plot(cat, obj, parent, id)