matplotlib学习1-绘图简介

 背景

本人特别喜欢画出各种形形色色的图,所以决定从今天起,系统的学习python的matplotlib模块。

个人感觉matplotlib类似于R语言的ggplot2包,致力于使用几行代码绘制出折线图,散点图,堆积图等。

参考资料

https://matplotlib.org/index.html

图形组成

平日绘图时,一张图主要由如下要素组成:

  图形来自https://matplotlib.org/tutorials/introductory/usage.html#sphx-glr-tutorials-introductory-usage-py

猜你喜欢

转载自www.cnblogs.com/mydx/p/11651041.html
今日推荐