Mercurial > octave-nkf
changeset 14356:c097c22e9294
print.m: Restore figure properties in reverse of the order of modification.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Fri, 10 Feb 2012 18:57:55 -0500 |
parents | a6a5c5008e39 |
children | e7c74f56cd03 |
files | scripts/plot/print.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/print.m Fri Feb 10 18:16:40 2012 -0500 +++ b/scripts/plot/print.m Fri Feb 10 18:57:55 2012 -0500 @@ -397,7 +397,7 @@ unwind_protect_cleanup ## restore modified properties if (isstruct (props)) - for n = 1:numel(props) + for n = numel(props):-1:1 if (ishandle (props(n).h)) set (props(n).h, props(n).name, props(n).value{1}); endif