(self, x, y, title='', xlabel=None, ylabel=None, shape=None,
                            clr=None, lw=1)
return line
Do x-y plot of 2 lists
Do x-y plot of 2 lists
Do x - y plot of 2 lists
def plotXY(self, x, y, title='', xlabel=None, ylabel=None, shape=None,
                            clr=None, lw=1):
        """Do x-y plot of 2 lists"""
        if shape == None:
            shape = self.shape
        if clr == None:
            clr = 'b'
        if self.xscale == 1:
            if self.yscale == 1:
                line, = pylab.loglog(x, y, shape, color=clr, linewidth=lw)
            else:
                line, = pylab.semilogx(x, y, shape, color=clr, linewidth=lw)
        elif self.yscale == 1:
            line, = pylab.semilogy(x, y, shape, color=clr, linewidth=lw)
        else:
            line, = pylab.plot(x, y, shape, color=clr, linewidth=lw)
        return line
def plotXY ( self , x , y , title = '' , xlabel = None , ylabel = None , shape = None , clr = None , lw = 1 ) : if shape == None : shape = self . shape if clr == None : clr = 'b' if self . xscale == 1 : if self . yscale == 1 : line , = pylab . loglog ( x , y , shape , color = clr , linewidth = lw ) else : line , = pylab . semilogx ( x , y , shape , color = clr , linewidth = lw ) elif self . yscale == 1 : line , = pylab . semilogy ( x , y , shape , color = clr , linewidth = lw ) else : line , = pylab . plot ( x , y , shape , color = clr , linewidth = lw ) return line