# HG changeset patch # User Jordi GutiƩrrez Hermoso # Date 1347990004 14400 # Node ID 598aa97253e2ad62c8e39b6491b50cc7c2257da0 # Parent 2024c70329dfe045f4e81c48fcad570747eb1eb1 Pass fig to print function in saveas.m diff --git a/scripts/plot/saveas.m b/scripts/plot/saveas.m --- 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