def __init__( self, serial = None, *args ) : """TemperaturePlot constructor it add axis titles.""" Plot.__init__( self, *args ) self.curve.setTitle( self._tr('LHe level data') ) self.setAxisTitle( Qwt.QwtPlot.xBottom, self._tr('Time (min)') ) self.setAxisTitle( Qwt.QwtPlot.yLeft, self._tr('LHe level (mm)') ) self.serial = serial
def __init__(self, parent): Plot.__init__(self, parent) # the plot and its data self._raster_data = RasterData(self) self._plot_item = Qwt.QwtPlotSpectrogram() self._plot_item.setData(self._raster_data) self._plot_item.attach(self) # enable colormap and -bar self._cbar = self.axisWidget(Qwt.QwtPlot.yRight) self._cbar.setColorBarEnabled(True) self.enableAxis(Qwt.QwtPlot.yRight) self.set_cbar()
def __init__(self, parent): Plot.__init__(self, parent) # the plot and its data self._raster_data = RasterData(self) self._plot_item = Qwt.QwtPlotSpectrogram() self._plot_item.setData(self._raster_data) self._plot_item.attach(self) # enable colormap and -bar self._cbar = self.axisWidget(Qwt.QwtPlot.yRight) self._cbar.setColorBarEnabled(True) self.enableAxis(Qwt.QwtPlot.yRight) self.set_cbar()
def __init__(self, conn, column): self.cursor = conn.cursor() Plot.__init__(self, OUTPUT_BASE_FILENAME + column + '.pdf')
def __init__(self, parameters, means, stds, output_path): self.parameters = parameters self.means = means self.stds = stds Plot.__init__(self, output_path)
def __init__(self, data, output_path): self.data = data Plot.__init__(self, output_path)
def __init__(self, parameters, means, stds, output_path): self.parameters = parameters self.means = means self.stds = stds Plot.__init__(self, output_path)
def __init__(self, conn, column): self.cursor = conn.cursor() Plot.__init__(self, OUTPUT_BASE_FILENAME + column + '.pdf')
def __init__(self, data, output_path): self.data = data Plot.__init__(self, output_path)