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

Untabify .m scripts
author Rik <code@nomad.inbox5.com>
date Fri, 23 Apr 2010 11:28:50 -0700
parents 43a07df0ed4c
children be55736a0783
line wrap: on
line diff
--- a/scripts/plot/clabel.m	Fri Apr 23 11:13:48 2010 -0700
+++ b/scripts/plot/clabel.m	Fri Apr 23 11:28:50 2010 -0700
@@ -67,10 +67,10 @@
   else
     arg = varargin{1};
     if (isscalar (arg) && ishandle(arg) && 
-	strcmp (get (arg, "type"), "hggroup"))
+        strcmp (get (arg, "type"), "hggroup"))
       obj = get (arg);
       if (! isfield (obj, "contourmatrix"))
-	error ("clabel: expecting the handle to be a contour group");
+        error ("clabel: expecting the handle to be a contour group");
       endif
       hg = arg;
       have_hg = true;
@@ -107,16 +107,16 @@
   if (have_hg)
     if (! isempty (v))
       if (have_labelspacing)
-	set (hg, "textlistmode", "manual", "textlist", v, 
-	     "labelspacing", label_spacing, "showtext", "on");
+        set (hg, "textlistmode", "manual", "textlist", v, 
+             "labelspacing", label_spacing, "showtext", "on");
       else
-	set (hg, "textlistmode", "manual", "textlist", v, "showtext", "on");
+        set (hg, "textlistmode", "manual", "textlist", v, "showtext", "on");
       endif
     else
       if (have_labelspacing)
-	set (hg,"showtext", "on", "labelspacing", label_spacing);
+        set (hg,"showtext", "on", "labelspacing", label_spacing);
       else
-	set (hg,"showtext", "on");
+        set (hg,"showtext", "on");
       endif
     endif
     retval = findobj (hg, "type", "text");