PEATDB/Ekin/Plotting.py
def applyOptions(self):
        """Apply the gui option vars to the plotter options"""
        self.setOptions(shape=self.pltsymbol.get(), grid=self.pltgrid.get(),
               xscale=self.xscalevar.get(), yscale=self.yscalevar.get(),
               xlim=self.xlimvar.get(),ylim=self.ylimvar.get(),
               showlegend = self.pltlegend.get(),
               legendloc = self.legendlocvar.get(),
               linewidth = self.linewidthvar.get(),
               graphtype = self.graphtypevar.get(),
               font = self.fontvar.get(),
               fontsize = self.fontsizevar.get(),
               title = self.plottitlevar.get())
        self.setTitle(self.plottitlevar.get())
        self.setxlabel(self.plotxlabelvar.get())
        self.setylabel(self.plotylabelvar.get())
        self.opts={}
        self.opts = {'marker':self.pltsymbol.get(),
                'markersize':self.markersizevar.get(),
                'title':self.plottitlevar.get(),
                'font':self.fontvar.get(),
                'fontsize':self.fontsizevar.get(),
                'linewidth':self.linewidthvar.get(),
                'legend':self.pltlegend.get(),
                'legendloc':self.legendlocvar.get(),
                'title':self.plottitlevar.get(),
                'xlabel':self.plotxlabelvar.get(),
                'ylabel':self.plotylabelvar.get(),
                'logx':self.xscalevar.get(),
                'logy':self.yscalevar.get(),
                'xlim':self.xlimvar.get(),
                'ylim':self.ylimvar.get(),
                'grid':self.pltgrid.get(),
                'graphtype':self.graphtypevar.get(),
                'normalise':self.normalisevar.get(),
                'alpha':self.alphavar.get(),
                'usetex':self.usetexvar.get(),
                'showerrorbars':self.showerrorbarsvar.get(),
                'varyshapes':self.varyshapesvar.get(),
                'grayscale':self.grayscalevar.get()}
        if self.redraw != None:
            self.redraw(options=self.opts)
        return
Apply the gui option vars to the plotter options
Apply the gui option vars to the plotter options
Apply the gui option vars to the plotter options
def applyOptions(self):
        self.setOptions(shape=self.pltsymbol.get(), grid=self.pltgrid.get(),
               xscale=self.xscalevar.get(), yscale=self.yscalevar.get(),
               xlim=self.xlimvar.get(),ylim=self.ylimvar.get(),
               showlegend = self.pltlegend.get(),
               legendloc = self.legendlocvar.get(),
               linewidth = self.linewidthvar.get(),
               graphtype = self.graphtypevar.get(),
               font = self.fontvar.get(),
               fontsize = self.fontsizevar.get(),
               title = self.plottitlevar.get())
        self.setTitle(self.plottitlevar.get())
        self.setxlabel(self.plotxlabelvar.get())
        self.setylabel(self.plotylabelvar.get())
        self.opts={}
        self.opts = {'marker':self.pltsymbol.get(),
                'markersize':self.markersizevar.get(),
                'title':self.plottitlevar.get(),
                'font':self.fontvar.get(),
                'fontsize':self.fontsizevar.get(),
                'linewidth':self.linewidthvar.get(),
                'legend':self.pltlegend.get(),
                'legendloc':self.legendlocvar.get(),
                'title':self.plottitlevar.get(),
                'xlabel':self.plotxlabelvar.get(),
                'ylabel':self.plotylabelvar.get(),
                'logx':self.xscalevar.get(),
                'logy':self.yscalevar.get(),
                'xlim':self.xlimvar.get(),
                'ylim':self.ylimvar.get(),
                'grid':self.pltgrid.get(),
                'graphtype':self.graphtypevar.get(),
                'normalise':self.normalisevar.get(),
                'alpha':self.alphavar.get(),
                'usetex':self.usetexvar.get(),
                'showerrorbars':self.showerrorbarsvar.get(),
                'varyshapes':self.varyshapesvar.get(),
                'grayscale':self.grayscalevar.get()}
        if self.redraw != None:
            self.redraw(options=self.opts)
        return
def applyOptions ( self ) : self . setOptions ( shape = self . pltsymbol . get ( ) , grid = self . pltgrid . get ( ) , xscale = self . xscalevar . get ( ) , yscale = self . yscalevar . get ( ) , xlim = self . xlimvar . get ( ) , ylim = self . ylimvar . get ( ) , showlegend = self . pltlegend . get ( ) , legendloc = self . legendlocvar . get ( ) , linewidth = self . linewidthvar . get ( ) , graphtype = self . graphtypevar . get ( ) , font = self . fontvar . get ( ) , fontsize = self . fontsizevar . get ( ) , title = self . plottitlevar . get ( ) ) self . setTitle ( self . plottitlevar . get ( ) ) self . setxlabel ( self . plotxlabelvar . get ( ) ) self . setylabel ( self . plotylabelvar . get ( ) ) self . opts = { } self . opts = { 'marker' : self . pltsymbol . get ( ) , 'markersize' : self . markersizevar . get ( ) , 'title' : self . plottitlevar . get ( ) , 'font' : self . fontvar . get ( ) , 'fontsize' : self . fontsizevar . get ( ) , 'linewidth' : self . linewidthvar . get ( ) , 'legend' : self . pltlegend . get ( ) , 'legendloc' : self . legendlocvar . get ( ) , 'title' : self . plottitlevar . get ( ) , 'xlabel' : self . plotxlabelvar . get ( ) , 'ylabel' : self . plotylabelvar . get ( ) , 'logx' : self . xscalevar . get ( ) , 'logy' : self . yscalevar . get ( ) , 'xlim' : self . xlimvar . get ( ) , 'ylim' : self . ylimvar . get ( ) , 'grid' : self . pltgrid . get ( ) , 'graphtype' : self . graphtypevar . get ( ) , 'normalise' : self . normalisevar . get ( ) , 'alpha' : self . alphavar . get ( ) , 'usetex' : self . usetexvar . get ( ) , 'showerrorbars' : self . showerrorbarsvar . get ( ) , 'varyshapes' : self . varyshapesvar . get ( ) , 'grayscale' : self . grayscalevar . get ( ) } if self . redraw != None : self . redraw ( options = self . opts ) return
Apply the gui option vars to the plotter options
Apply the gui option vars to the plotter options
"""Apply the gui option vars to the plotter options"""
self