[Scilab-users] figure_size

Samuel Gougeon sgougeon at free.fr
Sun Sep 10 17:32:29 CEST 2017


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..

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


More information about the users mailing list