changeset 17189:b1fd3dc31c42

struct2hdl.m: Call image() with a single piece of data to avoid loading default.img. * scripts/plot/struct2hdl.m: Call image() with a single piece of data to avoid loading default.img.
author Rik <rik@octave.org>
date Tue, 06 Aug 2013 14:20:38 -0700
parents b90915ba489d
children df4c4b7708a4
files scripts/plot/struct2hdl.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/struct2hdl.m	Tue Aug 06 12:46:31 2013 -0700
+++ b/scripts/plot/struct2hdl.m	Tue Aug 06 14:20:38 2013 -0700
@@ -305,7 +305,7 @@
 endfunction
 
 function h = createimage (s, par)
-  h = image ("parent", par);
+  h = image (1, "parent", par);
   addmissingprops (h, s.properties);
 endfunction