<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello,<br>
      <br>
      Le 10/09/2017 à 13:35, Claus Futtrup a écrit :<br>
    </div>
    <blockquote
      cite="mid:0d02540f-22d3-2301-205e-59481a8aefdd@gmail.com"
      type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      <p>Hi there</p>
      <p>When I create a new figure, I do newfig = scf();</p>
      <p>Then to make the figure larger I do newfig.figure_size = <span
          style="color:rgb(74,85,219);">[</span><span
          style="color:rgb(188,143,143);">931</span><span
          style="color:rgb(0,0,0);">,</span><span
          style="color:rgb(188,143,143);">750</span><span
          style="color:rgb(74,85,219);">];</span> <span
          style="color:rgb(100,174,100);font-style:italic;">// default
          is 626 x 587</span><span
          style="color:rgb(100,174,100);font-style:italic;"><br>
        </span></p>
      <p><span style="color:rgb(100,174,100);font-style:italic;">// When
          height = 750 is specified, then it correctly becomes 817.</span><span
          style="color:rgb(100,174,100);font-style:italic;"><br>
        </span></p>
      <p><span style="color:rgb(100,174,100);font-style:italic;">// I
          have no idea why. Scilab is a bit weird.</span></p>
      <p>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.</p>
      <p>Is there a way in which I can call scf() with the desired
        figure size already preset? ... something like scf(figure._size
        = <span style="color:rgb(74,85,219);">[</span><span
          style="color:rgb(188,143,143);">931</span><span
          style="color:rgb(0,0,0);">,</span><span
          style="color:rgb(188,143,143);">750</span><span
          style="color:rgb(74,85,219);">]</span>); maybe ?</p>
    </blockquote>
    <br>
    In Scilab 6:<br>
    <tt>--> scf().figure_size = [931 750];</tt><tt><br>
      --> // Isn't this great? There are not only weird things in
      Scilab ;)<br>
    </tt><br>
    In both Scilab 5 and 6:<br>
    <tt>--> set(scf(), "figure_size", [931 750]);</tt><tt><br>
    </tt><br>
    HTH<br>
    Samuel<br>
    <br>
  </body>
</html>