diff --git a/scripts/acoustics.py b/scripts/acoustics.py index 5277e095f48cbadc3b1ca5bca76cb2800f2e5f0b..d4023ab72241d24c5b2c1e3d76516d923a3a1322 100644 --- a/scripts/acoustics.py +++ b/scripts/acoustics.py @@ -209,21 +209,21 @@ while check == True: CustomCmap = matplotlib.colors.ListedColormap(colorsList) bounds=[-2, -1, 0, 1, 2] norma = colors.BoundaryNorm(bounds, CustomCmap.N) - color = ax.scatter(du1AB1, dom, s=20, c = DU1[iAB1], norm=norma, marker = 's', cmap = CustomCmap); - color = ax.scatter(du1AB2, dom, s=20, c = DU1[iAB2], norm=norma, marker = 's', cmap = CustomCmap); - color = ax.scatter(du1AB3, dom, s=20, c = DU1[iAB3], norm=norma, marker = 's', cmap = CustomCmap); - color = ax.scatter(du2AB1, dom, s=20, c = DU2[iAB1], norm=norma, marker = 's', cmap = CustomCmap); - color = ax.scatter(du2AB2, dom, s=20, c = DU2[iAB2], norm=norma, marker = 's', cmap = CustomCmap); - color = ax.scatter(du2AB3, dom, s=20, c = DU2[iAB3], norm=norma, marker = 's', cmap = CustomCmap); - color = ax.scatter(du3AB1, dom, s=20, c = DU3[iAB1], norm=norma, marker = 's', cmap = CustomCmap); - color = ax.scatter(du3AB2, dom, s=20, c = DU3[iAB2], norm=norma, marker = 's', cmap = CustomCmap); - color = ax.scatter(du3AB3, dom, s=20, c = DU3[iAB3], norm=norma, marker = 's', cmap = CustomCmap); - color = ax.scatter(du4AB1, dom, s=20, c = DU4[iAB1], norm=norma, marker = 's', cmap = CustomCmap); - color = ax.scatter(du4AB2, dom, s=20, c = DU4[iAB2], norm=norma, marker = 's', cmap = CustomCmap); - color = ax.scatter(du4AB3, dom, s=20, c = DU4[iAB3], norm=norma, marker = 's', cmap = CustomCmap); - color = ax.scatter(du5AB1, dom, s=20, c = DU5[iAB1], norm=norma, marker = 's', cmap = CustomCmap); - color = ax.scatter(du5AB2, dom, s=20, c = DU5[iAB2], norm=norma, marker = 's', cmap = CustomCmap); - color = ax.scatter(du5AB3, dom, s=20, c = DU5[iAB3], norm=norma, marker = 's', cmap = CustomCmap); + color = ax.scatter(du1AB1, dom, s = 20, c = DU1[iAB1], norm=norma, marker = 's', cmap = CustomCmap); + color = ax.scatter(du1AB2, dom, s = 20, c = DU1[iAB2], norm=norma, marker = 's', cmap = CustomCmap); + color = ax.scatter(du1AB3, dom, s = 20, c = DU1[iAB3], norm=norma, marker = 's', cmap = CustomCmap); + color = ax.scatter(du2AB1, dom, s = 20, c = DU2[iAB1], norm=norma, marker = 's', cmap = CustomCmap); + color = ax.scatter(du2AB2, dom, s = 20, c = DU2[iAB2], norm=norma, marker = 's', cmap = CustomCmap); + color = ax.scatter(du2AB3, dom, s = 20, c = DU2[iAB3], norm=norma, marker = 's', cmap = CustomCmap); + color = ax.scatter(du3AB1, dom, s = 20, c = DU3[iAB1], norm=norma, marker = 's', cmap = CustomCmap); + color = ax.scatter(du3AB2, dom, s = 20, c = DU3[iAB2], norm=norma, marker = 's', cmap = CustomCmap); + color = ax.scatter(du3AB3, dom, s = 20, c = DU3[iAB3], norm=norma, marker = 's', cmap = CustomCmap); + color = ax.scatter(du4AB1, dom, s = 20, c = DU4[iAB1], norm=norma, marker = 's', cmap = CustomCmap); + color = ax.scatter(du4AB2, dom, s = 20, c = DU4[iAB2], norm=norma, marker = 's', cmap = CustomCmap); + color = ax.scatter(du4AB3, dom, s = 20, c = DU4[iAB3], norm=norma, marker = 's', cmap = CustomCmap); + color = ax.scatter(du5AB1, dom, s = 20, c = DU5[iAB1], norm=norma, marker = 's', cmap = CustomCmap); + color = ax.scatter(du5AB2, dom, s = 20, c = DU5[iAB2], norm=norma, marker = 's', cmap = CustomCmap); + color = ax.scatter(du5AB3, dom, s = 20, c = DU5[iAB3], norm=norma, marker = 's', cmap = CustomCmap); cbar = plt.colorbar(color)