[Scilab-users] datatips in multiple axes plot

Stéphane Mottelet stephane.mottelet at utc.fr
Thu Sep 30 13:15:26 CEST 2021


Hello,

Having digged in the code of the entity picker some time ago, I think that the problem  can be fixed at the Java level. Please create an issue on
Bugzilla.

S.

> Le 30 sept. 2021 à 13:10, CRETE Denis <denis.crete at thalesgroup.com> a écrit :
> 
> 
> 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 <users-bounces at lists.scilab.org> De la part de CHEZE David 227480
> Envoyé : jeudi 30 septembre 2021 09:57
> À : Users mailing list for Scilab <users at lists.scilab.org>
> 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
>  
> <image001.png>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20210930/a528bef3/attachment.htm>


More information about the users mailing list