12 2017 档案

摘要:在DataFrame中预先变成datetime.date的格式 这样x轴的时间就会变成正确的格式。 阅读全文
posted @ 2017-12-29 09:45 imageSet 阅读(1185) 评论(0) 推荐(0) 编辑
摘要:http://blog.csdn.net/zhengzhb/article/details/7187278 阅读全文
posted @ 2017-12-25 22:05 imageSet 阅读(121) 评论(0) 推荐(0) 编辑
摘要:import java.util.HashMap; import java.util.Iterator; import java.util.Map; public class TestMap { public static void main(String[] args) { Map map = new HashMap(); map.put(1, "a"... 阅读全文
posted @ 2017-12-21 21:27 imageSet 阅读(164) 评论(0) 推荐(0) 编辑
摘要:http://blog.csdn.net/qq_34264472/article/details/53814653 阅读全文
posted @ 2017-12-10 18:21 imageSet 阅读(127) 评论(0) 推荐(0) 编辑
摘要:转一篇别人的http://blog.csdn.net/pipisorry/article/details/40005163 阅读全文
posted @ 2017-12-10 15:02 imageSet 阅读(123) 评论(0) 推荐(0) 编辑
摘要:见http://blog.csdn.net/qi_1221/article/details/73903131 阅读全文
posted @ 2017-12-09 22:44 imageSet 阅读(120) 评论(0) 推荐(0) 编辑
摘要:指定刻度的位置 plt.barh()可以得到横向的柱子,如图: 阅读全文
posted @ 2017-12-09 22:25 imageSet 阅读(651) 评论(0) 推荐(0) 编辑
摘要:建立一个包含4行3列个子图的figure,add_subplot()可以指定放置位置,具体关系如下: figure()中可包含参数figsize=(10,6),10表示figure对象的横向长度,6表示纵向长度。 阅读全文
posted @ 2017-12-09 21:08 imageSet 阅读(385) 评论(0) 推荐(0) 编辑
摘要:第一句话 import matplotlib.pyplot as plt 画图命令 plt.plot() 括号内写参数,如plt.plot(x_list,y_list),x_list,y_list是两个长度相同的list,分别代表plot图中各个点的横纵坐标,连起来就是plot图。 另外这里的plt 阅读全文
posted @ 2017-12-09 19:44 imageSet 阅读(250) 评论(0) 推荐(0) 编辑