|
|
@@ -27,7 +27,7 @@
|
|
|
%% You should have received a copy of the GNU General Public License
|
|
|
%% along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
-function sphear_bf_plot_filters(FC, W, X, Y, Z, U, V)
|
|
|
+function sphear_bf_plot_filters(FC, W, X, Y, Z, S, T, U, V)
|
|
|
fig = figure;
|
|
|
%% color plot
|
|
|
popts = '.k';
|
|
|
@@ -56,9 +56,11 @@ function sphear_bf_plot_filters(FC, W, X, Y, Z, U, V)
|
|
|
zh = semilogx(FC, 10*log10(abs(Z)), zopts, "linewidth", 1.5);
|
|
|
l = legend([wh, xh, yh, zh], {'W', 'X', 'Y', 'Z'});
|
|
|
if (exist("U"))
|
|
|
+ sh = semilogx(FC, 10*log10(abs(S)), 'r:', "linewidth", 1.5);
|
|
|
+ th = semilogx(FC, 10*log10(abs(T)), 'b:', "linewidth", 1.5);
|
|
|
uh = semilogx(FC, 10*log10(abs(U)), 'r--', "linewidth", 1.5);
|
|
|
vh = semilogx(FC, 10*log10(abs(V)), 'b--', "linewidth", 1.5);
|
|
|
- l = legend([wh, xh, yh, zh, uh, vh], {'W', 'X', 'Y', 'Z', 'U', 'V'});
|
|
|
+ l = legend([wh, xh, yh, zh, sh, th, uh, vh], {'W', 'X', 'Y', 'Z', 'S', 'T', 'U', 'V'});
|
|
|
end
|
|
|
else
|
|
|
l = legend([wh, xh, yh], {'W', 'X', 'Y'});
|