python數據可視化

Matplotlib——python繪圖工具包 #求100以內的素數 import matplotlib.pyplot as plt import numpy as np x = np.linspace(0, 10, 50) print(x) # 生成0到10之間等距的50個點 y = 2*x + 1 plt.plot(x, y) plt.show() List item 設置座標軸範圍 pl
相關文章
相關標籤/搜索