摘要: import matplotlib.pyplot as plt from numpy import * fig = plt.figure() ax = fig.add_subplot(223) ax.plot(x,y) plt.show() 参数223的意思... 阅读全文
posted @ 2017-12-05 15:01 crr121 阅读(95) 评论(0) 推荐(0) 编辑
摘要: import matplotlib.pyplot as plt from numpy import * fig = plt.figure() ax = fig.add_subplot(223) ax.plot(x,y) plt.show() 参数223的意思... 阅读全文
posted @ 2017-12-05 15:01 crr121 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 1、创建随机矩阵>>> from numpy import *>>> random.rand(4,4)array([[ 0.1801566 , 0.02580119, 0.02685281, 0.52768083], [ 0.4541100... 阅读全文
posted @ 2017-12-05 09:26 crr121 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 1、创建随机矩阵>>> from numpy import *>>> random.rand(4,4)array([[ 0.1801566 , 0.02580119, 0.02685281, 0.52768083], [ 0.4541100... 阅读全文
posted @ 2017-12-05 09:26 crr121 阅读(104) 评论(0) 推荐(0) 编辑