Artificial intelligent assistant

matplotlibのcolormapの色を絶対的な値で決めたい python3matplotlib (Ver.3.3.3) `sig_1` ### 1 fig = plt.figure() pxx, freq, bins, t = plt.specgram(sig_1 ,Fs = 48000, cmap = 'jet') plt.colorbar() fig.savefig('spectrogram_1.png') `sig_1``sig_2`1 ### 2 fig_1 = plt.figure() pxx, freq, bins, t = plt.specgram(sig_1 ,Fs = 48000, cmap = 'jet') plt.colorbar() fig_1.savefig('spectrogram_1.png') fig_2 = plt.figure() pxx, freq, bins, t = plt.specgram(sig_2 ,Fs = 48000, cmap = 'jet') plt.colorbar() fig_2.savefig('spectrogram_2.png') `spectrogram_1.png``spectrogram_2.png`sig_2sig_1 * 10colorbar[※]colorbar[※※] [※][※※]

1kunif

> Set Colorbar Range in matplotlib
> `pxx, freq, bins, t = plt.specgram(sig_1 ,Fs = 48000, cmap = 'jet', vmin = -40.0, vmax = 40.0)`

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 52467631eafa1466a00e3be575ce44fc