[Scilab-users] figure_size

Claus Futtrup cfuttrup at gmail.com
Sun Sep 10 17:37:39 CEST 2017


Hi Samuel

Thanks for all the (different email) responses - and below tip how to 
directly put the figure size with the scf() command. This directly 
answers my initial question. Thanks.

How do you guys figure this out? Looking directly in the Scilab 
source-code? :-)

Best regards,
Claus

On 10-09-2017 17:15, Samuel Gougeon wrote:
> 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
>
>
>
> _______________________________________________
> 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/20170910/b4fcd17e/attachment.htm>


More information about the users mailing list