Created
January 27, 2015 16:47
-
-
Save kratsg/4fb2e9add37bb35a37ba to your computer and use it in GitHub Desktop.
test python example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import matplotlib.pyplot as pl | |
x = np.random.randn(10000) | |
y = np.random.randn(10000)+5 | |
pl.figure() | |
pl.hist2d(x, y, bins=40, cmap=pl.cm.hot_r) | |
pl.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment