def plot(self, ifig=<NUM_LIT:1>, data_label='<STR_LIT:data>', fit_label='<STR_LIT>',<EOL>data_shape='<STR_LIT:o>', fit_shape='<STR_LIT:->'):
if len(self.coef) is not len(self.fcoef):<EOL><INDENT>print("<STR_LIT>")<EOL>print("<STR_LIT>")<EOL><DEDENT>pl.figure(ifig)<EOL>pl.plot(self.x,self.y,data_shape,label=data_label)<EOL>if fit_label is '<STR_LIT>':<EOL><INDENT>fit_label=self.__name__<EOL><DEDENT>pl.plot(self.x,self.func(self.fcoef,self.x),fit_shape,label=fit_label)<EOL>pl.legend()<EOL>
plot the data and the fitted function.

Parameters
----------
ifig : integer
    Figure window number.  The default is 1.
data_label : string
    Legend for data.  The default is 'data'.
fit_label : string
    Legend for fit.  If fit_lable is 'fit', then substitute fit
    function type self.func_name.  The default is 'fit'.
data_shape : character
    Shape for data.  The default is 'o'.
fit_shape : character
    Shape for fit.  The default is '-'.