01 plt.scatter(x,y,marker,c,s,alpha,edgecolor,lw,label)
c: the color of marker
s: the size of marker
alpha: the transparency of mark
edgecolor:the color of edge of marker
lw: the linewidth of edge
02 定义函数
import numpy as np
import matplotlib.pyplot as plt
t=np.arange(0,10,1/256)
xt=1.5*np.sin(2*np.pi*0.2*t)+3*np.sin(2*np.pi*0.3*t)
03 数据可视化
plt.scatter([1,3,7],xt[[256,256*3,256*7]],marker='o',s=500,c='g',alpha=0.8,edgecolor='r',lw=1)