def abu_profile(self,ixaxis='<STR_LIT>',isos=None,ifig=None,fname=None,logy=False,<EOL>colourblind=False):
pT=self._classTest()<EOL>if pT is '<STR_LIT>':<EOL><INDENT>x = self.get(ixaxis)<EOL>if ixaxis is '<STR_LIT>':<EOL><INDENT>x = x*ast.rsun_cm<EOL><DEDENT>if isos is None:<EOL><INDENT>isos=['<STR_LIT>','<STR_LIT>','<STR_LIT>','<STR_LIT>','<STR_LIT>','<STR_LIT>','<STR_LIT>','<STR_LIT>','<STR_LIT>','<STR_LIT>',<EOL>'<STR_LIT>','<STR_LIT>','<STR_LIT>','<STR_LIT>','<STR_LIT>','<STR_LIT>','<STR_LIT>','<STR_LIT>','<STR_LIT>',<EOL>'<STR_LIT>','<STR_LIT>','<STR_LIT>']<EOL><DEDENT>risos=[i for i in isos if i in self.cols]<EOL>abunds = [self.get(riso) for riso in risos]<EOL>names=risos<EOL><DEDENT>elif pT is '<STR_LIT>':<EOL><INDENT>if fname is None:<EOL><INDENT>raise IOError("<STR_LIT>")<EOL><DEDENT>x = self.se.get(fname,ixaxis)<EOL>if isos is None:<EOL><INDENT>isos=['<STR_LIT>','<STR_LIT>','<STR_LIT>','<STR_LIT>','<STR_LIT>','<STR_LIT>','<STR_LIT>','<STR_LIT>','<STR_LIT>','<STR_LIT>',<EOL>'<STR_LIT>','<STR_LIT>','<STR_LIT>','<STR_LIT>','<STR_LIT>','<STR_LIT>','<STR_LIT>','<STR_LIT>','<STR_LIT>',<EOL>'<STR_LIT>','<STR_LIT>','<STR_LIT>']<EOL><DEDENT>risos=[i for i in isos if i in self.se.isotopes]<EOL>abunds = self.se.get(fname,'<STR_LIT>',risos)<EOL>names=risos<EOL><DEDENT>else:<EOL><INDENT>raise IOError("<STR_LIT>")<EOL><DEDENT>if ixaxis is '<STR_LIT>':<EOL><INDENT>x = np.log10(x)<EOL>xlab='<STR_LIT>'<EOL><DEDENT>elif ixaxis is '<STR_LIT>':<EOL><INDENT>x = old_div(x, <NUM_LIT>)<EOL>xlab = '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>xlab='<STR_LIT>'<EOL><DEDENT>if ifig is not None:<EOL><INDENT>pl.figure(ifig)<EOL><DEDENT>from . import utils as u<EOL>cb = u.colourblind<EOL>lscb = u.linestylecb <EOL>for i in range(len(risos)):<EOL><INDENT>if logy:<EOL><INDENT>y = np.log10(abunds if len(risos) < <NUM_LIT:2> else abunds[i])<EOL><DEDENT>else:<EOL><INDENT>y = abunds if len(risos) < <NUM_LIT:2> else abunds[i]<EOL><DEDENT>if colourblind:<EOL><INDENT>pl.plot(x,y,ls=lscb(i)[<NUM_LIT:0>],marker=lscb(i)[<NUM_LIT:1>],<EOL>color=lscb(i)[<NUM_LIT:2>],markevery=u.linestyle(i)[<NUM_LIT:1>]*<NUM_LIT:20>,<EOL>label=names[i],mec='<STR_LIT:None>')<EOL><DEDENT>else:<EOL><INDENT>pl.plot(x,y,u.linestyle(i)[<NUM_LIT:0>],markevery=u.linestyle(i)[<NUM_LIT:1>]*<NUM_LIT:20>,<EOL>label=names[i],mec='<STR_LIT:None>')<EOL><DEDENT><DEDENT>pl.legend(loc='<STR_LIT>').draw_frame(False)<EOL>pl.xlabel(xlab)<EOL>pl.ylabel('<STR_LIT>')<EOL>
Plot common abundances as a function of either mass coordiate or radius.

Parameters
----------
ixaxis : string, optional
    'mass',  'logradius' or 'radius'
    The default value is 'mass'
isos : list, optional
    list of isos to plot, i.e. ['h1','he4','c12'] for MESA or
    ['H-1','He-4','C-12'] for SE output. If None, the code decides
    itself what to plot.
    The default is None.
ifig : integer or string, optional
    The figure label
    The default value is None
fname : integer, optional
    What cycle to plot from (if SE output)
    The default value is None
logy : boolean, optional
    Should y-axis be logarithmic?
    The default value is False
colourblind : boolean, optional
    do you want to use the colourblind colour palette from the NuGrid
    nuutils module?