changed clg to clf
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Fri, 20 Aug 2010 06:43:49 +0000 (06:43 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Fri, 20 Aug 2010 06:43:49 +0000 (06:43 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@176 01035d8c-6547-0410-b346-abe4f91aad63

codec2/octave/lsp_pdf.m
codec2/octave/phase.m
codec2/octave/phase2.m
codec2/octave/pitch_test.m
codec2/octave/pl.m
codec2/octave/pl2.m
codec2/octave/plamp.m
codec2/octave/plnlp.m
codec2/octave/plpitch.m

index 990abc8b71040121522af11213da44812770a39c..6617066e3db578832d6dd2617249be80e3c7c4d5 100644 (file)
@@ -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;");
index 7a2bc626ec6d1a91d8bd0ef7e087e526e2903083..f973590345881e2933e758d148b0c708c7230cf6 100644 (file)
@@ -33,7 +33,7 @@ function phase(samname, F0, png)
   endfor
 
   figure(1);
-  clg;
+  clf;
   plot(s(1:250));
 
   fs=fopen(samname,"wb");
index c28b104b7f8aee0aaaec0cd6725ae98d934d5616..ea58dcbe11c79f748250680febe0e0a14642ef7a 100644 (file)
@@ -27,7 +27,7 @@ function phase2(samname, png)
   endfor
 
   figure(1);
-  clg;
+  clf;
   plot(s(1:250));
 
   fs=fopen(samname,"wb");
index 81826a6941e3ba5ad7e8fb5d9328d92e1539c08d..3fe0d1ad66dc6ee59becb432ad63b937be42103d 100644 (file)
@@ -22,7 +22,7 @@ function pitch_test(samname)
     endfor
 
     figure(1);
-    clg;
+    clf;
     plot(s);
 
     fwrite(fs,s,"short");
index dc33beb4d51d2b0772418dfe5a9f8348de42b78a..49968961d462cf86fad219ef864018b9c0930f94 100644 (file)
@@ -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)]);
  
index e18ca580286cacf7b1ac0ae9fecb793968b403fd..6e6d37aab80ed70037e753470bc232c872e7b47b 100644 (file)
@@ -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);
index a82a8412f1bed7b5ed9fd1fc95401e2261a067fb..2615638faf39673fce0f6b603c5f78e4a5391d4d 100644 (file)
@@ -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);
index 1dcbd97b8c7be01dfa729c40252a3a54502acf35..01b493113b7400e03b2f9554951950652b46b944 100644 (file)
@@ -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
index c335d8f4ac0796d212fcc69596bed8f1dfcba286..69ad5338907c69b1d6f4998c2fb66d36b231b691 100644 (file)
@@ -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