if flag == 4 | flag == 6
// Initialisation || Re-Init
// if already exists (stopped) then reuse
- f = findobj("Tag", block.label);
+ f = findobj("Tag", block.uid);
if f == [] then
- f = figure("Tag", block.label, "Figure_name", "BARXY");
+ f = figure("Tag", block.uid, "Figure_name", "BARXY");
else
scf(f);
+ clf();
end
- // Create an empty figure without Menu's nor toolbar
- clf();
+
f.background = -2;
a=gca();
- drawlater();
a.data_bounds = block.rpar';
a.isoview = "on";
u1=block.inptr(1);
u1=block.inptr(1);
u2=block.inptr(2);
- f = findobj("Tag", block.label);
- a = f.children;
+ f = findobj("Tag", block.uid);
- drawlater()
+ a = f.children;
a.children(1).data = [u1, u2]
- drawnow();
+
end
endfunction
\ No newline at end of file