Commit 9fdd7808 authored by Jonathan Juhl's avatar Jonathan Juhl
Browse files

Delete image_make.py

parent 92c41731
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.cm as cm
from matplotlib.colors import LogNorm
from scipy.stats.kde import gaussian_kde
a = np.random.multivariate_normal([0,0], [[ 1, 0], [0, 0.01]], check_valid='warn', tol=1e-8,size=[10000])
b = np.random.multivariate_normal([0,0], [[ 1, 0], [0, 0.01]], check_valid='warn', tol=1e-8,size=[10000])
c = np.random.multivariate_normal([0,0], [[ 1, 0], [0, 0.01]], check_valid='warn', tol=1e-8,size=[10000])
s = np.concatenate([a,b,c],axis=0)
x = s[:,0]
y = s[:,1]
H, xedges, yedges =np.histogram2d(x, y, bins=100)
plt.pcolormesh(xedges, yedges , H ,alpha=0.9)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment