importnumpyasnpimportmatplotlib.pyplotaspltdefgaussian (x,l ) : gama=1.0 return NP.exp (-gam a* ) x-L )2) x 1) dtype='int ' ) print ) y ) l1,l2=-1,1x _ new=NP.empty L1 ) x_new[i(I,1 )=Gaussian ] data,L2 ) print [0]*len ) x [ y===0] color=' yellow ' (PLT.show ) ) PLT.Scatter ) x _ new [ y==0,0 ]、x _ new [ y==0(plew ) )