示例#1
0
 def __init__(self, x, y, size=None):
     QwtSeriesData.__init__(self)
     if isinstance(x, (tuple, list)):
         x = np.array(x)
     if isinstance(y, (tuple, list)):
         y = np.array(y)
     self.__x = x
     self.__y = y
示例#2
0
 def __init__(self, size, interval):
     QwtSeriesData.__init__(self)
     self.__size = size
     self.__interval = interval
     self.__rectOfInterest = None
     self.__intervalOfInterest = None
示例#3
0
 def __init__(self, x, y, size):
     QwtSeriesData.__init__(self)
     self.__x = x
     self.__y = y
     self.__size = size