diff scripts/plot/saveas.m @ 11587:c792872f8942

all script files: untabify and strip trailing whitespace
author John W. Eaton <jwe@octave.org>
date Thu, 20 Jan 2011 17:35:29 -0500
parents fd0a3ac60b0e
children 72c96de7a403
line wrap: on
line diff
--- a/scripts/plot/saveas.m	Thu Jan 20 17:24:59 2011 -0500
+++ b/scripts/plot/saveas.m	Thu Jan 20 17:35:29 2011 -0500
@@ -20,8 +20,8 @@
 ## @deftypefn  {Function File} {} saveas (@var{h}, @var{filename})
 ## @deftypefnx {Function File} {} saveas (@var{h}, @var{filename}, @var{fmt})
 ## Save graphic object @var{h} to the file @var{filename} in graphic
-## format @var{fmt}. 
-## 
+## format @var{fmt}.
+##
 ## @var{fmt} should be one of the following formats:
 ##
 ## @table @code
@@ -77,7 +77,7 @@
   else
     error ("saveas: first argument H must be a graphics handle");
   endif
-  
+
   if (!ischar (filename))
     error ("saveas: FILENAME must be a string");
   endif
@@ -102,7 +102,7 @@
   endif
 
   prt_opt = strcat ("-d", tolower (fmt));
-  
+
   print (filename, prt_opt);
 
 endfunction