From f38f63660688d5f970a30bcef26d8a0e0074a139 Mon Sep 17 00:00:00 2001 From: drowe67 Date: Fri, 20 Aug 2010 06:43:49 +0000 Subject: [PATCH] changed clg to clf git-svn-id: https://svn.code.sf.net/p/freetel/code@176 01035d8c-6547-0410-b346-abe4f91aad63 --- codec2/octave/lsp_pdf.m | 4 ++-- codec2/octave/phase.m | 2 +- codec2/octave/phase2.m | 2 +- codec2/octave/pitch_test.m | 2 +- codec2/octave/pl.m | 2 +- codec2/octave/pl2.m | 2 +- codec2/octave/plamp.m | 2 +- codec2/octave/plnlp.m | 2 +- codec2/octave/plpitch.m | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/codec2/octave/lsp_pdf.m b/codec2/octave/lsp_pdf.m index 990abc8b..6617066e 100644 --- a/codec2/octave/lsp_pdf.m +++ b/codec2/octave/lsp_pdf.m @@ -8,7 +8,7 @@ function lsp_pdf(lsp) % LSPs figure(3); - clg; + clf; [x,y] = hist(lsp(:,1),100); plot(y*4000/pi,x,";1;"); hold on; @@ -23,7 +23,7 @@ function lsp_pdf(lsp) % LSP differences figure(4); - clg; + clf; subplot(211) [x,y] = hist(lsp(:,1),100); plot(y,x,";1;"); diff --git a/codec2/octave/phase.m b/codec2/octave/phase.m index 7a2bc626..f9735903 100644 --- a/codec2/octave/phase.m +++ b/codec2/octave/phase.m @@ -33,7 +33,7 @@ function phase(samname, F0, png) endfor figure(1); - clg; + clf; plot(s(1:250)); fs=fopen(samname,"wb"); diff --git a/codec2/octave/phase2.m b/codec2/octave/phase2.m index c28b104b..ea58dcbe 100644 --- a/codec2/octave/phase2.m +++ b/codec2/octave/phase2.m @@ -27,7 +27,7 @@ function phase2(samname, png) endfor figure(1); - clg; + clf; plot(s(1:250)); fs=fopen(samname,"wb"); diff --git a/codec2/octave/pitch_test.m b/codec2/octave/pitch_test.m index 81826a69..3fe0d1ad 100644 --- a/codec2/octave/pitch_test.m +++ b/codec2/octave/pitch_test.m @@ -22,7 +22,7 @@ function pitch_test(samname) endfor figure(1); - clg; + clf; plot(s); fwrite(fs,s,"short"); diff --git a/codec2/octave/pl.m b/codec2/octave/pl.m index dc33beb4..49968961 100644 --- a/codec2/octave/pl.m +++ b/codec2/octave/pl.m @@ -17,7 +17,7 @@ function pl(samname1, start_sam, end_sam, pngname) endif figure(1); - clg; + clf; plot(s(st:en)); axis([1 en-st min(s) max(s)]); diff --git a/codec2/octave/pl2.m b/codec2/octave/pl2.m index e18ca580..6e6d37aa 100644 --- a/codec2/octave/pl2.m +++ b/codec2/octave/pl2.m @@ -19,7 +19,7 @@ function pl2(samname1, samname2, start_sam, end_sam, pngname) endif figure(1); - clg; + clf; subplot(211); l1 = strcat("r;",samname1,";"); plot(s1(st:en), l1); diff --git a/codec2/octave/plamp.m b/codec2/octave/plamp.m index a82a8412..2615638f 100644 --- a/codec2/octave/plamp.m +++ b/codec2/octave/plamp.m @@ -53,7 +53,7 @@ function plamp(samname, f) k = ' '; do figure(1); - clg; + clf; % s = [ Sn(2*(f-2)-1,:) Sn(2*(f-2),:) ]; s = [ Sn(2*f-1,:) Sn(2*f,:) ]; plot(s); diff --git a/codec2/octave/plnlp.m b/codec2/octave/plnlp.m index 1dcbd97b..01b49311 100644 --- a/codec2/octave/plnlp.m +++ b/codec2/octave/plnlp.m @@ -39,7 +39,7 @@ function plnlp(samname, f) do figure(1); - clg; + clf; s = [ Sn(2*f-1,:) Sn(2*f,:) ]; plot(s, ";Sn;"); grid diff --git a/codec2/octave/plpitch.m b/codec2/octave/plpitch.m index c335d8f4..69ad5338 100644 --- a/codec2/octave/plpitch.m +++ b/codec2/octave/plpitch.m @@ -21,7 +21,7 @@ function plpitch(pitch1_name, pitch2_name, start_fr, end_fr) endif figure(1); - clg; + clf; l1 = strcat("r;",pitch1_name,";") l1 st -- 2.25.1