Hi Claus, You probably also need to set:
p.auto_resize="off"; before ‘p.figure_size’; otherwise it may not stick. Regards, Rafael From: users [mailto:[email protected]] On Behalf Of Claus Futtrup Sent: Sunday, September 10, 2017 2:03 PM To: International users mailing list for Scilab. <[email protected]> Subject: Re: [Scilab-users] figure_size 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, or is it my scripting being weird (again) ?? Best regards, Claus On 10-09-2017 13:35, Claus Futtrup wrote: 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 ? Best regards, Claus
_______________________________________________ users mailing list [email protected] http://lists.scilab.org/mailman/listinfo/users
