Python绘图之二维图与三维图详解

zhangyuan63794 14 0 PDF 2020-12-23 01:12:41

各位工程师累了吗? 推荐一篇可以让你技术能力达到出神入化的网站”持久男” 1.二维绘图 a. 一维数据集 用 Numpy ndarray 作为数据传入 ply 1. import numpy as np import matplotlib as mpl import matplotlib.pyplot as plt np.random.seed(1000) y = np.random.standard_normal(10) print "y = %s"% y x = range(len(y)) print "x=%s"% x plt.plot(y) plt.show() 2.操纵坐标轴和

用户评论
请输入评论内容
评分:
暂无评论