diff scripts/plot/ishold.m @ 10549:95c3e38098bf

Untabify .m scripts
author Rik <code@nomad.inbox5.com>
date Fri, 23 Apr 2010 11:28:50 -0700
parents e381f80a5f7a
children d1978e7364ad
line wrap: on
line diff
--- a/scripts/plot/ishold.m	Fri Apr 23 11:13:48 2010 -0700
+++ b/scripts/plot/ishold.m	Fri Apr 23 11:28:50 2010 -0700
@@ -30,17 +30,17 @@
   elseif (nargin == 1)
     if (ishandle (h))
       if (isfigure (h))
-	ax = get (h, "currentaxes");
-	if (isempty (ax))
-	  ax = __go_axes__ (h);
-	  set (h, "currentaxes", ax);
-	endif
-	fig = h;
+        ax = get (h, "currentaxes");
+        if (isempty (ax))
+          ax = __go_axes__ (h);
+          set (h, "currentaxes", ax);
+        endif
+        fig = h;
       elseif (strcmpi (get (h, "type"), "axes"))
-	ax = h;
-	fig = get (h, "parent");
+        ax = h;
+        fig = get (h, "parent");
       else
-	error ("hold: expecting argument to be axes or figure graphics handle");
+        error ("hold: expecting argument to be axes or figure graphics handle");
       endif
     else
       error ("hold: expecting argument to be axes or figure graphics handle");
@@ -50,6 +50,6 @@
   endif
 
   retval = (strcmpi (get (fig, "nextplot"), "add")
-	    && strcmpi (get (ax, "nextplot"), "add"));
+            && strcmpi (get (ax, "nextplot"), "add"));
 
 endfunction