Exemplo n.º 1
0
    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
Exemplo n.º 2
0
    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()
Exemplo n.º 3
0
    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()
Exemplo n.º 4
0
 def __init__(self, conn, column):
     self.cursor = conn.cursor()
     Plot.__init__(self, OUTPUT_BASE_FILENAME + column + '.pdf')
Exemplo n.º 5
0
 def __init__(self, parameters, means, stds, output_path):
     self.parameters = parameters
     self.means = means
     self.stds = stds
     Plot.__init__(self, output_path)
Exemplo n.º 6
0
 def __init__(self, data, output_path):
     self.data = data
     Plot.__init__(self, output_path)
Exemplo n.º 7
0
 def __init__(self, parameters, means, stds, output_path):
     self.parameters = parameters
     self.means = means
     self.stds = stds
     Plot.__init__(self, output_path)
Exemplo n.º 8
0
 def __init__(self, conn, column):
     self.cursor = conn.cursor()
     Plot.__init__(self, OUTPUT_BASE_FILENAME + column + '.pdf')
Exemplo n.º 9
0
 def __init__(self, data, output_path):
     self.data = data
     Plot.__init__(self, output_path)