Skip to content
Snippets Groups Projects
Commit edcaacc5 authored by Aaron Viets's avatar Aaron Viets
Browse files

plot_spectrogram.py: wider range

parent 98087ed9
No related branches found
No related tags found
No related merge requests found
......@@ -169,8 +169,8 @@ fig = plt.figure(figsize = (15, 9))
ax = plt.gca()
X, Y = np.meshgrid(tvec, fvec)
Z = np.transpose(spec2D)
CS = ax.pcolor(X, Y, Z, norm=matplotlib.colors.LogNorm(vmin=0.1, vmax=10), cmap=cm.Spectral)
fig.colorbar(CS)
CS = ax.pcolor(X, Y, Z, norm=matplotlib.colors.LogNorm(vmin=0.01, vmax=100), cmap=cm.Spectral)
fig.colorbar(CS, label = "Amplitude relative to median")
plt.xlabel(r'${\rm Time \ in \ seconds \ since \ GPS \ %d}$' % t0)
plt.ylabel(r'${\rm Frequency \ [Hz]}$')
plt.title(r'${\rm %s:%s \ Spectrogram}$' % (ifo, channel.replace('_', '\_')))
......
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