python Programming Glossary: view_ymin
Efficient method of calculating density of irregularly spaced points http://stackoverflow.com/questions/6652671/efficient-method-of-calculating-density-of-irregularly-spaced-points data_ymax 2. data_xmin 2. data_xmax 2. # view area range view_ymin .5 view_ymax .5 view_xmin .5 view_xmax .5 # generate data xl.. for i in range 0 len xl if view_xmin xl i view_xmax and view_ymin yl i view_ymax xlvis.append xl i ylvis.append yl i fig plt.figure.. t0 time.clock zd xe ye np.histogram2d yl xl bins 10 range view_ymin view_ymax view_xmin view_xmax normed True plt.title 'numpy.histogram2d..
|