Skip to content

Instantly share code, notes, and snippets.

@showyou
Created June 27, 2010 12:32
Show Gist options
  • Select an option

  • Save showyou/454865 to your computer and use it in GitHub Desktop.

Select an option

Save showyou/454865 to your computer and use it in GitHub Desktop.
import numpy as np
from pylab import plot
x = []
for i in xrange(100):
x.append(np.random.multivariate_normal( [1, 1], [[ 2, 0],[0, 1]]))
xx = zip(*x)
plot(xx[0], xx[1], "*")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment