better separation of plotting colors

This commit is contained in:
P.M. Sutter 2013-06-02 20:50:18 -05:00
parent cacf9dee74
commit 9786812b2c
2 changed files with 3 additions and 4 deletions

View file

@ -20,9 +20,8 @@
LIGHT_SPEED = 299792.458
colorList = ['r', 'b', 'g', 'y', 'c', 'm',
'brown', 'grey',
'darkred', 'orange', 'pink', 'darkblue',
'lightblue', 'chocolate',
'darkred', 'grey',
'orange', 'darkblue',
'indigo', 'lightseagreen', 'maroon', 'olive',
'royalblue', 'palevioletred', 'seagreen', 'tomato',
'aquamarine', 'darkslateblue',

View file

@ -70,4 +70,4 @@ def shellavg( f, dx, Nmesh, Nbin = 100, xmin = 0., xmax = 1., scale = 'lin' ):
fm = np.histogram(x, bins = bins, weights = f)[0]/Nm
fs = np.sqrt((np.histogram(x, bins = bins, weights = f**2)[0]/Nm - fm**2)/(Nm-1))
return (Nm, xm, fm, fs)
return (Nm, xm, fm, fs)