[Scilab-users] figure_size
Samuel Gougeon
sgougeon at free.fr
Sun Sep 10 23:47:16 CEST 2017
Le 10/09/2017 à 17:32, Samuel Gougeon a écrit :
> Le 10/09/2017 à 14:03, Claus Futtrup a écrit :
>> Hi all
>>
>> I figured it out. At the beginning of the script I can call gdf and
>> set parameters. I did:
>>
>> if saveplots then // if plots are to be saved to disk, then
>> plotsize = [931,750]; // make larger plot, default is 626 x 587
>> p = gdf(); // Get Default Figure (p = PLOT) settings
>> p.figure_position = [80,20]; // default is 200 x 200
>> // p.figure_size = [931,750];
>> end
>> ... The (default) figure_size didn't work, so it's commented out, and
>> so I continue to reset the plot size for each plot individually.
>>
>> Is this a Scilab bug,
>
> Yes it is: confirmed. It is not yet reported.
> Just after calling scf() or figure(), the new figure is correctly
> sized according to the gdf().figure_size values.
> After a fraction of a second, it is then resized to the default
> default sizes instead..
It is now reported here: http://bugzilla.scilab.org/15270
This bug is a regression brought by Scilab 5.0! (yes: 5, not 6)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20170910/2d19bd08/attachment.htm>
More information about the users
mailing list