网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 时尚美容

如何使用Matplotlib绘制折线图

时间:2024-10-18 02:21:47

1、打开Ubuntu虚拟机,在桌面空白处右键,点击打开终端。

如何使用Matplotlib绘制折线图

3、使用gedit创建一个python文件,命令如下:gedit zhexiantu.py

如何使用Matplotlib绘制折线图

5、在终端启动jupyter notebook,命令如下:jupyter notebook

如何使用Matplotlib绘制折线图

7、在输入框输入程序地址,点击运行,折线图效果如下图所示。%run ~/zhexiantu.py

如何使用Matplotlib绘制折线图
© 2025 小知经验
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com