# 运用散点图对数据分布得到直观的认识 import numpy as np import matplotlib.pyplot as plt # 设计 x, y 轴 n = 10000 x = np.random.randn( n ) # 随机值 y = np.random.randn( n ) # 显示散点图 colors = ['b','r','g','y','k','m'] plt.scatter(x, y, c = colors, marker = 'p', alpha=0.5 ) pl…