Hello, I tried to use the example of "newaxes" in the help files, but I can't create any datatip (because of frames ???)... With the example of "sca" in the help files, I can create datatips on all 3 curves (distributed on 2 different sets of axes). In this case, the subplots do not overlap. If the axes_bounds vectors are changed to [0,0,1,1] for both sets of axes, so that now they overlap, then I could not create datatips anymore.
If you are looking for a workaround, then changing the order of the axes may be a solution. It should be possible to implement it by a new menu button created with uimenu (and as many submenus as the number of axes -1), each with a callback like "swap_handles(axes_1, axes_n)". HTH Denis De : users <[email protected]> De la part de CHEZE David 227480 Envoyé : jeudi 30 septembre 2021 09:57 À : Users mailing list for Scilab <[email protected]> Objet : [Scilab-users] datatips in multiple axes plot Dear all, I found a limitation in the datatip manager of any figure window, as illustrated in the screen capture below, from the "multiple scaled plots" example : the datatip manager can catch only the last axe that was plotted, in the example only the red curve. This is a pity since it might be needed to ask datatip for other curves as well when analysing experimental data for instance. I tried to set first axe as the current axes, sca(gcf().children(3)), but I didn't manage to get the datatips for the first black curve. Do you see any reason for this limitation? Enhancement suggestion ? David [cid:[email protected]]
_______________________________________________ users mailing list [email protected] http://lists.scilab.org/mailman/listinfo/users
