def mdot_t(self,ifig=None,lims=[<NUM_LIT>,<NUM_LIT>,-<NUM_LIT>,-<NUM_LIT>],label=None,colour=None,s2ms=False,<EOL>dashes=None):
fsize=<NUM_LIT><EOL>params = {'<STR_LIT>':  fsize,<EOL>'<STR_LIT>':        '<STR_LIT>',<EOL>'<STR_LIT>':  '<STR_LIT>',<EOL>'<STR_LIT>':     fsize,<EOL>'<STR_LIT>':   fsize,<EOL>'<STR_LIT>':   fsize*<NUM_LIT>,<EOL>'<STR_LIT>':   fsize*<NUM_LIT>,<EOL>'<STR_LIT>':       False}<EOL>try:<EOL><INDENT>pl.rcParams.update(params)<EOL><DEDENT>except:<EOL><INDENT>pass<EOL><DEDENT>if ifig is not None:<EOL><INDENT>pl.figure(ifig)<EOL><DEDENT>if s2ms:<EOL><INDENT>h1=self.get('<STR_LIT>')<EOL>idx=np.where(h1[<NUM_LIT:0>]-h1>=<NUM_LIT>)[<NUM_LIT:0>][<NUM_LIT:0>]<EOL>skip=idx<EOL><DEDENT>else:<EOL><INDENT>skip=<NUM_LIT:0><EOL><DEDENT>gage= self.get('<STR_LIT>')<EOL>lage=np.zeros(len(gage))<EOL>agemin = max(old_div(abs(gage[-<NUM_LIT:1>]-gage[-<NUM_LIT:2>]),<NUM_LIT>),<NUM_LIT>)<EOL>for i in np.arange(len(gage)):<EOL><INDENT>if gage[-<NUM_LIT:1>]-gage[i]>agemin:<EOL><INDENT>lage[i]=np.log10(gage[-<NUM_LIT:1>]-gage[i]+agemin)<EOL><DEDENT>else :<EOL><INDENT>lage[i]=np.log10(agemin)<EOL><DEDENT><DEDENT>x = lage[skip:]<EOL>y = self.get('<STR_LIT>')[skip:]<EOL>if ifig is not None:<EOL><INDENT>pl.figure(ifig)<EOL><DEDENT>if label is not None:<EOL><INDENT>if colour is not None:<EOL><INDENT>line,=pl.plot(x,y,label=label,color=colour)<EOL><DEDENT>else:<EOL><INDENT>line,=pl.plot(x,y,label=label)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>if colour is not None:<EOL><INDENT>line,=pl.plot(x,y,color=colour)<EOL><DEDENT>else:<EOL><INDENT>line,=pl.plot(x,y)<EOL><DEDENT><DEDENT>if dashes is not None:<EOL><INDENT>line.set_dashes(dashes)<EOL><DEDENT>if label is not None:<EOL><INDENT>pl.legend(loc='<STR_LIT>').draw_frame(False)<EOL><DEDENT>pl.xlim(lims[:<NUM_LIT:2>])<EOL>pl.ylim(lims[<NUM_LIT:2>:])<EOL>pl.ylabel('<STR_LIT>')<EOL>pl.xlabel('<STR_LIT>')<EOL>
Plot mass loss history as a function of log-time-left

Parameters
----------
ifig : integer or string
    Figure label, if None the current figure is used
    The default value is None.
lims : list [x_lower, x_upper, y_lower, y_upper]
label : string
    Label for the model
    The default value is None
colour : string
    The colour of the line
    The default value is None
s2ms : boolean, optional
    "skip to main sequence"
dashes : list, optional
    Custom dashing style. If None, ignore.
    The default is None.