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

Untabify .m scripts
author Rik <code@nomad.inbox5.com>
date Fri, 23 Apr 2010 11:28:50 -0700
parents dbd0c77e575e
children be55736a0783
line wrap: on
line diff
--- a/scripts/plot/hidden.m	Fri Apr 23 11:13:48 2010 -0700
+++ b/scripts/plot/hidden.m	Fri Apr 23 11:28:50 2010 -0700
@@ -33,7 +33,7 @@
     if (ischar (mode))
       mode = tolower (mode);
       if (! strcmp (mode, "on") && ! strcmp (mode, "off"))
-	error ("hidden: mode expected to be 'on' or 'off'");
+        error ("hidden: mode expected to be 'on' or 'off'");
       endif
     else
       error ("hidden: expecting mode to be a string");
@@ -47,7 +47,7 @@
     if (strcmp (htype, "surface"))
       fc = get (h, "facecolor");
       if ((! ischar (fc) && is_white (fc))
-	  || (ischar (fc) && strcmpi (fc, "none")))
+          || (ischar (fc) && strcmpi (fc, "none")))
         switch (mode)
         case "on"
           set (h, "facecolor", "w");
@@ -56,10 +56,10 @@
         case "swap"
           if (ischar (fc))
             set (h, "facecolor", "w");
-	    mode = "on";
+            mode = "on";
           else
             set (h, "facecolor", "none");
-	    mode = "off";
+            mode = "off";
           endif
         endswitch
       endif