2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2011-2011 - DIGITEO - Bruno JOFRET
5 // This file must be used under the terms of the CeCILL.
6 // This source file is licensed as described in the file COPYING, which
7 // you should have received as part of this distribution. The terms
8 // are also available at
9 // http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
13 function block=BARXY_sim(block,flag)
14 //disp("Calling BARXY_sim with flag = "+string(flag))
15 if flag == 4 | flag == 6
16 // Initialisation || Re-Init
17 // if already exists (stopped) then reuse
18 f = findobj("Tag", block.uid);
20 f = figure("Tag", block.uid, "Figure_name", "BARXY");
28 a.data_bounds = block.rpar';
33 xsegs(u1, u2, 1:size(u1,"*")/2)
35 e.thickness = block.ipar;
43 f = findobj("Tag", block.uid);
46 a.children(1).data = [u1, u2]