[EMAIL PROTECTED] wrote: > Umm.... Tried this out too.... Laiken heres the error that this > gives.. > > Traceback (most recent call last): > File "D:\Questions\Gradient and C\Gnuplot\Combining Best fit and > Plotting\combasd.py", line 3, in <module> > combine.show_plots([(2,3), (4,8), (5,9), (6,2)], [(1,7), (3,3), > (4,5), (5,6)], [(1,3), (3,10), (4,8), (7,9) ] ) > File "D:\Questions\Gradient and C\Gnuplot\Combining Best fit and > Plotting\combine.py", line 54, in show_plots > gp = combine.plot( original, expected, actual) > NameError: global name 'combine' is not defined > > Still confused though i get the instance part ur trying to tell me.
Sorry, it should have been def show_plots(original, expected, actual): gp = plot( original, expected, actual) raw_input("first") gp = bestfit(expected) raw_input("second") gp = bestfit(actual) raw_input("third") Peter -- http://mail.python.org/mailman/listinfo/python-list