Python-Matplotlib 3 散点图

Python-Matplotlib 3 散点图

 

 

 

http://matplotlib.org/api/markers_api.html?heighlight=markers#module-matplotlib.markers

 

import matplotlib.pyplot as plt
import numpy as np
x = np.random.randn(10)
y = x + np.random.randn(10) * 0.5
plt.scatter(x,y)
plt.show()

Result 

 

 

posted @ 2017-02-16 11:34  ZSR0401  阅读(613)  评论(0编辑  收藏  举报