随笔分类 -  matplotlib

matplotlib画sin(x)和cos(x)/2
摘要:1. 基本的绘图 mp.plot(水平坐标, 垂直坐标, linestyle=线型, linewidth=线宽, color=颜色, ...) 2. 设置坐标范围 mp.xlim(水平坐标最小值, 水平坐标最大值) mp.ylim(垂直坐标最小值, 垂直坐标最大值) 3. 设置坐标刻度 mp.xti 阅读全文

posted @ 2018-12-04 20:20 zengsf 阅读(794) 评论(0) 推荐(0)

导航