Jens,
Le 18/12/2016 15:31, Samuel Gougeon a écrit :
scf();
param3d([0 1 1 1],[0 0 1 1],[0 0 0 1]);
ce = gce();
ce.thickness = 10;
m1 = uimenu('label', 'alpha=50', 'callback',"ca=gca();
ca.rotation_angles(1)=50");
m2 = uimenu('label', 'alpha=80', 'callback',"ca=gca();
ca.rotation_angles(1)=80");
At the time the menu is clicked, the current axes may be no longer the
one of the parent figure of the clicked component (menu). So instead of
ca = gca(), the callback should use gcbo for a more robust
implementation: https://help.scilab.org/docs/6.0.0/en_US/gcbo.html
SG
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users