随笔分类 -  数据可视化

摘要:本文记述了用 Matplotlib 在线性坐标系中绘制三角函数图象的例子。 代码主体内容如下: ... def main(): fig, axs = plt.subplots(1, 3, figsize=(14,4.5)) #1 axs[0] = configure_axes(axs[0], 'Tr 阅读全文
posted @ 2024-12-26 12:42 green-cnblogs 阅读(42) 评论(0) 推荐(0) 编辑
摘要:本文记述了用 Matplotlib 在线性坐标系中绘制对数函数图象的例子。 代码主体内容如下: ... def main(): fig, ax = plt.subplots(figsize=(8,8)) #1 ax = configure_axes(ax, 'Logarithmic Function 阅读全文
posted @ 2024-11-13 13:14 green-cnblogs 阅读(49) 评论(0) 推荐(0) 编辑
摘要:本文记述了用 Matplotlib 在线性坐标系中绘制指数函数图象的例子。 代码主体内容如下: ... def main(): fig, ax = plt.subplots(figsize=(8,8)) #1 ax = configure_axes(ax, 'Exponential Function 阅读全文
posted @ 2024-11-11 15:13 green-cnblogs 阅读(56) 评论(0) 推荐(0) 编辑
摘要:本文记述了用 Matplotlib 在线性坐标系中绘制幂函数图象的例子。 代码主体内容如下: ... def main(): fig, ax = plt.subplots(figsize=(8,8)) #1 ax = configure_axes(ax, 'Power Function', 5, 5 阅读全文
posted @ 2024-10-09 14:21 green-cnblogs 阅读(40) 评论(0) 推荐(0) 编辑
摘要:本文记述了用 Matplotlib 在线性坐标系中绘制二次函数图象的例子。 代码主体内容如下: ... def main(): fig, axs = plt.subplots(1, 3, figsize=(14,4.5)) #1 axs[0] = configure_axes(axs[0], 'Qu 阅读全文
posted @ 2024-09-29 14:00 green-cnblogs 阅读(44) 评论(0) 推荐(0) 编辑
摘要:本文记述了用 Matplotlib 在线性坐标系中绘制一次函数图象的例子。 代码主体内容如下: ... def main(): fig, ax = plt.subplots(figsize=(8,8)) #1 ax = configure_axes(ax, 'Linear Function', 10 阅读全文
posted @ 2024-09-27 15:47 green-cnblogs 阅读(82) 评论(0) 推荐(0) 编辑
摘要:本文记述了用 Matplotlib 在对数坐标系中绘制图象的一种方法,并在以 2 为底的对数坐标系上展示了 选择排序、冒泡排序(二)、快速排序(四) 的性能数据图象。 笔者按如下布局绘制了 12 (4x3)幅图象,其中 [a,b] 代表某幅图象的位置。 + + + + | | | | | 选择排序 阅读全文
posted @ 2024-09-02 10:19 green-cnblogs 阅读(39) 评论(0) 推荐(0) 编辑
摘要:本文摘译了《Matplotlib_3.3.4.pdf》 的 User‘s Guide > Tutorials > Introductory 中关于 Matplotlib 的若干基本概念,如下。 Matplotlib graphs your data on Figures, each of which 阅读全文
posted @ 2023-10-25 19:12 green-cnblogs 阅读(22) 评论(0) 推荐(0) 编辑

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