changeset 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 8067a06c901c
children 873ea2c72f16
files scripts/ChangeLog scripts/plot/newplot.m
diffstat 2 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Tue Oct 21 15:13:24 2008 -0400
+++ b/scripts/ChangeLog	Tue Oct 21 15:14:13 2008 -0400
@@ -4,6 +4,8 @@
 
 2008-10-21  John W. Eaton  <jwe@octave.org>
 
+	* plot/newplot.m: Delete stray debugging code.
+
 	* plot/gnuplot_drawnow.m: Pass handle to __go_draw_figure__, not
 	struct.  Use get instead of examining struct fields directly.
 	* plot/__go_draw_figure__.m: First arg is now handle, not figure
--- a/scripts/plot/newplot.m	Tue Oct 21 15:13:24 2008 -0400
+++ b/scripts/plot/newplot.m	Tue Oct 21 15:14:13 2008 -0400
@@ -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