Matplotlib绘制六种可视化图表
日常笔记,记录自己的学习过程01. 折线图02. 散点图03. 直方图04. 柱状图05. 饼图06. 三维图
.
01. 折线图
import numpy as np
import matplotlib.pyplot as plt
x= np.linspace(0, 2, 100)
plt.plot(x, x, label='linear')
plt.plot(x, x**2, label...
原创
2019-08-19 13:02:15 ·
812 阅读 ·
0 评论