[Scilab-users] figure_size
Samuel Gougeon
sgougeon at free.fr
Sun Sep 10 17:15:50 CEST 2017
Hello,
Le 10/09/2017 à 13:35, Claus Futtrup a écrit :
>
> Hi there
>
> When I create a new figure, I do newfig = scf();
>
> Then to make the figure larger I do newfig.figure_size = [931,750]; //
> default is 626 x 587
>
> // When height = 750 is specified, then it correctly becomes 817.
>
> // I have no idea why. Scilab is a bit weird.
>
> The top left corner stays the same, so the figure scales down. (Kinda
> smart, so you can always get hold of the top bar of the window), but
> unfortunately my PC monitor is not so large, the figure expand beyond
> the bottom of the screen.
>
> Is there a way in which I can call scf() with the desired figure size
> already preset? ... something like scf(figure._size = [931,750]); maybe ?
>
In Scilab 6:
--> scf().figure_size = [931 750];
--> // Isn't this great? There are not only weird things in Scilab ;)
In both Scilab 5 and 6:
--> set(scf(), "figure_size", [931 750]);
HTH
Samuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20170910/0929bcfd/attachment.htm>
More information about the users
mailing list