diff scripts/plot/newplot.m @ 8252:b12a2975bf7e

newplot.m: delete stray debugging code
author John W. Eaton <jwe@octave.org>
date Tue, 21 Oct 2008 15:14:13 -0400
parents 53dbbd331498
children eb63fbe60fab
line wrap: on
line diff
--- a/scripts/plot/newplot.m
+++ b/scripts/plot/newplot.m
@@ -49,13 +49,8 @@
       otherwise
 	error ("newplot: unrecognized nextplot property for current axes");
     endswitch
-
-    yt = get (ca, "ylabel");
-    if (! strcmp (get (yt, "type"), "text"))
-      disp("BAD!!!!!");
-      get(yt)
-    endif
   else
     print_usage ();
   endif
+
 endfunction