def show_results_prepare(self):
font = {'family': 'serif',
'color': 'k',
'weight': 'normal',
'size': 13,
}
pl.figure(1)
pl.title('The Trajectory of Cannon Shells', fontdict = font)
pl.xlabel('x / $km$')
pl.ylabel('y / $km$')
pl.xlim(0, 60)
pl.ylim(0, 20)
pl.grid(True)
pl.text(2, 16.5, 'With air drag, the reduced air density \n and g varying with altitudes', fontdict = font)
pl.show()
5(improved) code.py 文件源码
python
阅读 28
收藏 0
点赞 0
评论 0
评论列表
文章目录