matplotlib基础——matplotlib.pyplot.scatter

来源:互联网 发布:mysql的存储过程 编辑:程序博客网 时间:2024/06/05 03:30

matplotlib.pyplot.scatter(x, y, s=None, c=None, marker=None, cmap=None, norm=None, vmin=None, vmax=None, alpha=None, linewidths=None, verts=None, edgecolors=None, hold=None, data=None, **kwargs)

Make a scatter plot of x vs y

Marker size is scaled by s and marker color is mapped to c

http://matplotlib.org/api/pyplot_api.html?highlight=scatter#matplotlib.pyplot.scatter

原创粉丝点击