def __init_plotter(self): colormap = ["green","red","#dddddd","#777777"] self.myp = sdutil.get_plotter(self.plotlevel) casalog.post('Create new plotter') self.myp.palette(0,colormap) self.myp.hold() self.myp.clear()
def __init_plotter(self): colormap = ["green", "red", "#dddddd", "#777777"] self.myp = sdutil.get_plotter(self.plotlevel) casalog.post('Create new plotter') self.myp.palette(0, colormap) self.myp.hold() self.myp.clear()
def __init_plot(self): n = self.scan.nrow() if n > 16: casalog.post( 'Only first 16 results are plotted.', priority = 'WARN' ) n = 16 # initialize plotter from matplotlib import rc as rcp rcp('lines', linewidth=1) if not (self.fitter._p and self.fitter._p._alive()): self.fitter._p = sdutil.get_plotter(self.plotlevel) self.fitter._p.hold() self.fitter._p.clear() # set nrow and ncol (maximum 4x4) self.fitter._p.set_panels(rows=n, cols=0, ganged=False) casalog.post( 'nrow,ncol= %d,%d' % (self.fitter._p.rows, self.fitter._p.cols ) ) self.fitter._p.palette(0,["#777777", "#dddddd", "red", "orange", "purple", "green", "magenta", "cyan"])
def __init_plot(self): n = self.scan.nrow() if n > 16: casalog.post('Only first 16 results are plotted.', priority='WARN') n = 16 # initialize plotter from matplotlib import rc as rcp rcp('lines', linewidth=1) if not (self.fitter._p and self.fitter._p._alive()): self.fitter._p = sdutil.get_plotter(self.plotlevel) self.fitter._p.hold() self.fitter._p.clear() # set nrow and ncol (maximum 4x4) self.fitter._p.set_panels(rows=n, cols=0, ganged=False) casalog.post('nrow,ncol= %d,%d' % (self.fitter._p.rows, self.fitter._p.cols)) self.fitter._p.palette(0, [ "#777777", "#dddddd", "red", "orange", "purple", "green", "magenta", "cyan" ])