随笔分类 -  python matplotlib

使用python的matplotlib制作图标
摘要:python matplotlib.pyplot 条形图详解 一、创建直方图 可以用bar函数来创建直方图 然后用show函数显示直方图 比如: import matplotlib.pyplot as plt x = [1, 4, 6, 8, 10] y = [3, 5, 4, 7, 5] plt. 阅读全文
posted @ 2020-11-14 19:05 KevinLikesCoding 阅读(553) 评论(0) 推荐(0) 编辑
摘要:python matplotlib.pyplot 散点图详解(2) 上期资料 一、散点图叠加 可以用多个scatter函数叠加散点图 代码如下: import matplotlib.pyplot as plt x = [5,7,8,10,6] y = [3,7,13,8,10] n = [4,6,9 阅读全文
posted @ 2020-09-25 17:43 KevinLikesCoding 阅读(1127) 评论(0) 推荐(1) 编辑
摘要:python matplotlib.pyplot散点图详解(1) 一、创建散点图 可以用scatter函数创建散点图 并使用show函数显示散点图 代码如下: import matplotlib.pyplot as plt #导入模块 x = [5, 7, 8, 10, 6] y = [3, 7, 阅读全文
posted @ 2020-09-20 09:03 KevinLikesCoding 阅读(9426) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示