def plot(begin, end, step): c = cvector(begin, end, step) erf = errfunc(c) print(erf); plt.plot(c, erf); plt.xlabel('0 <= c <= 5'); plt.ylabel('I(c)') plt.show()