|
|
pylab_examples_Examples 94_hist2d_demo. |
H.Kamifuji . |
import matplotlib.pyplot as plt import numpy as np x = np.random.randn(1000) y = np.random.randn(1000) + 5 # normal distribution center at x=0 and y=5 plt.hist2d(x, y, bins=40) plt.show() |
![]() |
pylab_examples_Examples code: hist2d_demo.py |
|