def displayRetirementWithMonthsAndRates(monthlies, rates, terms):
plt.figure('retireBoth')
plt.clf()
plt.xlim(30 * 12, 40 * 12)
for monthly in monthlies:
for rate in rates:
xvals, yvals = retire(monthly, rate, terms)
plt.plot(xvals, yvals,
label='retire:' + str(monthly) + ':' + str(int(rate * 100)))
plt.legend(loc='upper left')
retirement.py 文件源码
python
阅读 25
收藏 0
点赞 0
评论 0
评论列表
文章目录