示例#1
0
 def __init__(self, parent, name, *args, **kw):
  
   kw['title'] = '%s vs Residue Sequence' % name
   kw['xLabel'] = 'Residue number'
   kw['yLabel'] = '%s' % name
   kw['width'] = 500
   kw['height'] = 150
   kw['xGrid'] = True
   kw['yGrid'] = False
   kw['graphType'] = 'histogram'
   
   self.minRes = 0
   self.maxRes = 100
   self.minVal = -1.0
   self.maxVal = 1.0
     
   ScrolledGraph.__init__(self, parent, **kw)
示例#2
0
 def __init__(self, parent, contourColorA='#FFC0B0', contourColorB='#B0C0FF', *args, **kw):
  
   kw['title'] =  u'%s vs %s Relaxation Analysis' % (T1, T2)
   kw['xLabel'] = u'%s (ms)' % T1
   kw['yLabel'] = u'%s (ms)' % T2
   kw['width'] = 500
   kw['height'] = 500
   kw['xGrid'] = False
   kw['yGrid'] = False
   kw['graphType'] = 'scatter'
   
   self.minT1 = 0.0
   self.maxT1 = 1000.0
   self.minT2 = 0.0
   self.maxT2 = 1000.0
   self.contourColorA = contourColorA
   self.contourColorB = contourColorB
   self.orderParamLines = []
   self.rotCorrTimeLines = []
   self.contourItems = set([])
   self.outlierLabels = []
     
   ScrolledGraph.__init__(self, parent, **kw)