plot_peaks.m
Go to the documentation of this file.
1 function plot_peaks(Xmag,Xphase,ploc,t)
2 figure(1);
3 subplot(2,1,1)
4 plot(Xmag);
5 hold on;
6 plot(ploc,Xmag(ploc),'r*');
7 plot([1,length(Xmag)],[t,t],'g');
8 hold off;
9 subplot(2,1,2);
10 plot(Xphase);
11 hold on;
12 plot(ploc,Xphase(ploc),'r*');
13 hold off;
function ploc
figure
Definition: genspecsines2.m:3
const char * r
Definition: vf_curves.c:94
hold on
Definition: plot_peaks.m:5
FFT buffer for g
Definition: stft_peak.m:17
t
Definition: genspecsines3.m:6
subplot(2, 1, 1) plot(Xmag)
function plot_peaks(Xmag, Xphase, ploc, t) figure(1)
plot(ploc, Xmag(ploc),'r *')
FFT Xmag
Definition: stpt.m:16
pause
Definition: plot_peaks.m:14
Magnitude in dBs Xphase
Definition: stpt.m:17
hold off
Definition: plot_peaks.m:8
const char int length
Definition: avisynth_c.h:668