Skip to content
Snippets Groups Projects
Commit d7488b2e authored by Carlo Guidi's avatar Carlo Guidi
Browse files

Update acoustics.py

parent 05e0ebbd
No related branches found
No related tags found
No related merge requests found
......@@ -197,9 +197,9 @@ while check:
iAB2 = np.intersect1d(iAB2_up, iAB2_down)
iAB3 = np.where(ind[0] > (2*L - 1))
colorsList = [(0, 0, 0),(1, 0.3, 0),(1, 1, 0),(0.2, 0.9, 0)]
colorsList = [(0, 0, 0), (1, 0.3, 0), (1, 1, 0), (0.2, 0.9, 0)]
CustomCmap = matplotlib.colors.ListedColormap(colorsList)
bounds=[-2, -1, 0, 1, 2]
bounds = [-2, -1, 0, 1, 2]
norma = colors.BoundaryNorm(bounds, CustomCmap.N)
for du in range(N_DUS):
for ab in range(N_ABS):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment