<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hello.</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I have encountered a strange behaviour of Scilab 5.5.0, which did not happen with Scilab 5.4.1.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">This happened with the following sequence:</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">--> wind=scf()</div><div style="font-family:arial,sans-serif;font-size:13px"><div></div><div><br></div><div>--> wind.figure_position=[0,0]</div><div>
<br></div><div>--> screen_size=get(0,'screensize_px')  </div><div><br></div><div>--> wind.figure_size=screen_size(3:4)</div></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
--> plot2d(1:10,1:10)<br></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">With Scilab 5.4.1, it works fine, but with Scilab 5.5.0, the size of the graph itself is not widened and the plot is not drawn. But, if you either print the screen or export the graph for instance as a pdf file, then the graph is windened and the plot is drawn (it works also if you use the square icon in the upper right angle of Scialb graphic window, but since all the stuff is percisely to be able to make it inside a programm, it is not very helpful...) . If you save the graph as a.scg Scilab graph and reload it (see file resize_5.5.0.scg), then the graph has now the desired size, but does not provide the results of the plot2d command! (I join the Scilab 5.4.1 result for a comparison: file reisze_5.4.1.scg).</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I suspect it is a bug: right?</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div>
<div style="font-family:arial,sans-serif;font-size:13px">Is there another way to do widen automatically (that is with Scilab commands) a graphic window that could work with Scilab 5.5.0?</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">Thanks!</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Éric.</div></div>