In [9]:
from __future__ import division
%matplotlib inline
#import nds2
import numpy as np
import matplotlib.pyplot as plt
#import matplotlib.mlab as mlab
#import scipy.signal as sig
import scipy.constants as const
from matplotlib import rc
from IPython.display import Image
from IPython.display import display
############ plot settings
font={'family':'serif',
'size':20}
axes={'linewidth':2,
'labelpad':14,
'labelcolor':'gray'}
legend_s={'fontsize':'small'}
text_s={'color':'gray'}
xtick_s={'color':'gray'}
ytick_s={'color':'gray'}
rc('font',**font)
rc('axes',**axes)
rc('legend',**legend_s)
rc('text',**text_s)
rc('xtick',**xtick_s)
rc('ytick',**ytick_s)
In [6]:
maxwell2016 = [5, 4, 2, 2, 6, 8, 10, 6, 9, 10, 10, 0, 3, 10, 5, 2, 4, 8, 9, 10, 4, 9, 5, 6, 2, 7]
In [11]:
fig = plt.figure(figsize=(20, 10));
plt.hist(maxwell2016)
Out[11]:
In [ ]:
m = np.linspace(-1, 1, a)
m.shape
In [ ]:
In [ ]: