lib/transient.py
def quickplot(self, xlabel='Time [ps]', ylabel='Trace', fntsize=15, title='Transient', clear=False, raw=False):
        """Generates a quick simple plot with matplotlib """
        if clear: plt.clf()
        quickplotfig = plt.figure(num=1)
        ax = quickplotfig.add_subplot(111)
        if raw:
            ax.plot(self.raw_time, self.raw_trace, 'o')

        else:
            ax.plot(self.time, self.trace, )
        ax.set_xlabel(xlabel, fontsize=fntsize)
        ax.set_ylabel(ylabel, fontsize=fntsize)
        ax.set_title(title, fontsize=fntsize)
        ax.tick_params(axis='x', labelsize=fntsize)
        ax.tick_params(axis='y', labelsize=fntsize)
        plt.show()
Generates a quick simple plot with matplotlib 
Generates a quick simple plot with matplotlib
Generates a quick simple plot with matplotlib
def quickplot(self, xlabel='Time [ps]', ylabel='Trace', fntsize=15, title='Transient', clear=False, raw=False):
        if clear: plt.clf()
        quickplotfig = plt.figure(num=1)
        ax = quickplotfig.add_subplot(111)
        if raw:
            ax.plot(self.raw_time, self.raw_trace, 'o')
        else:
            ax.plot(self.time, self.trace, )
        ax.set_xlabel(xlabel, fontsize=fntsize)
        ax.set_ylabel(ylabel, fontsize=fntsize)
        ax.set_title(title, fontsize=fntsize)
        ax.tick_params(axis='x', labelsize=fntsize)
        ax.tick_params(axis='y', labelsize=fntsize)
        plt.show()
def quickplot ( self , xlabel = 'Time [ps]' , ylabel = 'Trace' , fntsize = 15 , title = 'Transient' , clear = False , raw = False ) : if clear : plt . clf ( ) quickplotfig = plt . figure ( num = 1 ) ax = quickplotfig . add_subplot ( 111 ) if raw : ax . plot ( self . raw_time , self . raw_trace , 'o' ) else : ax . plot ( self . time , self . trace , ) ax . set_xlabel ( xlabel , fontsize = fntsize ) ax . set_ylabel ( ylabel , fontsize = fntsize ) ax . set_title ( title , fontsize = fntsize ) ax . tick_params ( axis = 'x' , labelsize = fntsize ) ax . tick_params ( axis = 'y' , labelsize = fntsize ) plt . show ( )
Generates a quick simple plot with matplotlib
Generates a quick simple plot with matplotlib
"""Generates a quick simple plot with matplotlib """
self
xlabel
ylabel
fntsize
title
clear
raw