kopia lustrzana https://github.com/Dsplib/libdspl-2.0
28 wiersze
560 B
Gnuplot
28 wiersze
560 B
Gnuplot
|
|
if(!exists("plotterm")) plotterm = 'wxt'
|
|
if(plotterm eq "pngcairo") set output 'img/butter_ap_test.png'
|
|
|
|
|
|
set logscale x
|
|
unset key
|
|
set grid
|
|
set xlabel "frequency, rad/s"
|
|
|
|
set terminal plotterm size 920, 260 enhanced font 'Verdana,8'
|
|
|
|
set multiplot layout 1,3 rowsfirst
|
|
set ylabel "Magnitude, dB"
|
|
set yrange [-100:5]
|
|
plot 'dat/butter_ap_test_mag.txt' with lines
|
|
|
|
set ylabel "Phase response, rad"
|
|
unset yrange
|
|
plot 'dat/butter_ap_test_phi.txt' with lines
|
|
|
|
set ylabel "Groupdelay, sec"
|
|
unset yrange
|
|
plot 'dat/butter_ap_test_tau.txt' with lines
|
|
|
|
unset multiplot
|
|
|