lib/redred.py
def quickplot(self, xlabel='Time, ps',
                  ylabel='Kerr rotation', fntsize=20,
                  title='Time depandance of the pump induced Kerr rotation',
                  clear=False):
        """Generates a quick simple plot with matplotlib """
        if clear: plt.clf()
        quickplotfig=plt.figure(num=1)
        ax=quickplotfig.add_subplot(111)
        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='Kerr rotation', fntsize=20,
                  title='Time depandance of the pump induced Kerr rotation',
                  clear=False):
        if clear: plt.clf()
        quickplotfig=plt.figure(num=1)
        ax=quickplotfig.add_subplot(111)
        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 = 'Kerr rotation' , fntsize = 20 , title = 'Time depandance of the pump induced Kerr rotation' , clear = False ) : if clear : plt . clf ( ) quickplotfig = plt . figure ( num = 1 ) ax = quickplotfig . add_subplot ( 111 ) 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