changeset 15412:598aa97253e2

Pass fig to print function in saveas.m
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Tue, 18 Sep 2012 13:40:04 -0400
parents 2024c70329df
children 9128fa93fb21
files scripts/plot/saveas.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/saveas.m
+++ b/scripts/plot/saveas.m
@@ -102,6 +102,6 @@
 
   prt_opt = strcat ("-d", tolower (fmt));
 
-  print (filename, prt_opt);
+  print (fig, filename, prt_opt);
 
 endfunction