[Scilab-users] strange behaviour of handle property figure_size

Eric Dubois grocer.toolbox at gmail.com
Mon May 5 20:49:17 CEST 2014


Thanks Samuel.

IDNHVM ;-), since I still do not:
- why the behaviour differs from Scilab 5.4.1 to Scilab 5.5.0; is it a bug
or an intended change of behaviour? And why?
- if this betrays a bug;
- how to reocver Scilab 5.4.1 behaviour with Scilab 5.5.0.

Eric.


2014-05-04 1:38 GMT+02:00 Samuel Gougeon <sgougeon at free.fr>:

>  Hello,
>
> Le 03/05/2014 19:36, Eric Dubois a écrit :
>
> Hello.
>
>  I have encountered a strange behaviour of Scilab 5.5.0, which did not
> happen with Scilab 5.4.1.
>
>  This happened with the following sequence:
>
>  --> wind=scf()
>
>  --> wind.figure_position=[0,0]
>
>  --> screen_size=get(0,'screensize_px')
>
>  --> wind.figure_size=screen_size(3:4)
>
>  --> plot2d(1:10,1:10)
>
> With 5.5.0 on Win7_x64, the result is:
>  - the width of the window is exactly the screen's one.
>  - the window has no status bar. Resizing it (by 0) makes the bar
> appearing.
>  - the height of the window is too tall exactly by the height of its
> bottom border, in such a way that the bottom of the blank background is
> exactly at the bottom of the screen, and the border is below so not visible.
>  - the plot is displayed, but with almost no bottom margin : X labels are
> displayed at the very bottom of the screen
>
> (before  this, the OS task bar has been moved on the vertical right, in
> order to see the bottom of the screen).
>
> HTH
> Samuel
>
> _______________________________________________
> 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/20140505/268f5ddd/attachment.htm>


More information about the users mailing list