第 12 屆 iThome 鐵人賽
分享至
使用matplotlib函式庫畫scatter 圖
import matplotlib.pyplot as plt x = [6,9,9,15,12,18,12,10,14,21,13,19,8] y = [101,87,77,78,100,89,101,88,96,77,73,86,88] plt.scatter(x, y) plt.show()
IT邦幫忙