[Scilab-users] Legends of saved SciLab graphs slip away

Samuel Gougeon sgougeon at free.fr
Wed Jun 6 20:58:03 CEST 2018


Hello Denis,

Le 06/06/2018 à 12:57, CRETE Denis a écrit :
>
> Hello,
>
> Thank you for your quick answer.
>
> I could get a correct behaviour with your code. However, if you run 
> this part of the code:
>
> g_test=scf();
> x=-1:0.01:1; y=sin(2*%pi*x); z=cos(2*%pi*x);
> plot2d(x',[y;z]',style=1:2)
> legends(['Sin','Cos'],1:2,"ur")   // with an _s_, as in your post
> twinkle(gcf().children(1))
> save("fig0.dat","g_test")
>
> xdel(gcf().figure_id)
>
> and terminate with the command:
>
> g_man=scf();
>
> Now from the (empty) graphic window I click on “File”/”Load” and type 
> in “*.dat”  + select “fig0.dat”then, I end up with the legend in the 
> background (and thus invisible until I issue the console command 
> g_man.children(1).filled=”off”…
>

Confirmed. Thanks for reporting this issue. It shall be fixed in Scilab 
6.0.2 with
https://codereview.scilab.org/20125

Regards
Samuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20180606/27004dea/attachment.htm>


More information about the users mailing list