diff scripts/plot/draw/area.m @ 19596:0e1f5a750d00

maint: Periodic merge of gui-release to default.
author John W. Eaton <jwe@octave.org>
date Tue, 20 Jan 2015 10:24:46 -0500
parents a142f35f3cb6 446c46af4b42
children 4197fc428c7d
line wrap: on
line diff
--- a/scripts/plot/draw/area.m	Tue Jan 20 09:55:41 2015 -0500
+++ b/scripts/plot/draw/area.m	Tue Jan 20 10:24:46 2015 -0500
@@ -70,14 +70,14 @@
 
   num_numeric = find (cellfun ("isclass", varargin, "char"), 1) - 1;
   if (isempty (num_numeric))
-    num_numeric = nargin;     
+    num_numeric = nargin;
   endif
 
   switch (num_numeric)
     case 1
       y = varargin{1};
     case 2
-      if (isscalar (varargin{2})) 
+      if (isscalar (varargin{2}))
         y = varargin{1};
         bv = varargin{2};
       else
@@ -247,7 +247,7 @@
 %! y = [sin(t).^2, cos(t).^2];
 %! area (t, y);
 %! axis tight
-%! legend ('sin^2', 'cos^2', 'location', 'NorthEastOutside');  
+%! legend ('sin^2', 'cos^2', 'location', 'NorthEastOutside');
 %! title ('area() plot');
 
 %!demo