Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python plot normal distribution

import numpy as np
import matplotlib.pyplot as plt

def get_normal(n):
  mu,sigma = 10,1
  s = np.random.normal(mu, sigma, n)
  plt.hist(s, density=True)
  plt.show()

get_normal(100)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #plot #normal #distribution
ADD COMMENT
Topic
Name
6+8 =