seems finished
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
function plotSpectrogram(result, figure_id, p_dB_min, p_dB_max)
|
||||
figure(figure_id);
|
||||
imagesc(result.T, result.F, result.P_dB);
|
||||
axis ij;
|
||||
xlabel("Time [s]");
|
||||
ylabel("Freq. [Hz]");
|
||||
title("Spectrogram Trace " + figure_id + " / Channel " + result.channel);
|
||||
cb = colorbar;
|
||||
ylabel(cb, "Power [dB]");
|
||||
clim([p_dB_min p_dB_max]);
|
||||
% Optional:
|
||||
% xlim([0 0.05]);
|
||||
end
|
||||
Reference in New Issue
Block a user