<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    My workaround is to allow Scilab a little nap:<br>
    <pre style="font-family:Monospaced;font-style:normal;font-size:12.0;"><big><big><big>xdel(); 
cf=figure("immediate_drawing",'off', 'visible','off','background',8);
<span style="text-decoration: underline;">plot</span>(1:2)
cf.immediate_drawing="on";  cf.visible="on";  
sleep(100)//<<<<<<<<<<<<<<<<<<<<
xtitle('xtitle() suppresses plot content when not delayed by sleep(). Ver. 5.5.2, my Win 10, 64 bit'</big></big></big><span style="color:rgb(74,85,219);"><big><big><big><font color="#000000">)</font></big></big></big>

</span></pre>
    Does this make sense under a deeper understanding of Scilab,
    regarding also that the very first  execution (after start of
    Scilab) is proper without 'sleep'?<br>
    <br>
    Cheers<br>
    Jens<br>
----------------------------------------------------------------------------------------------<br>
    <div class="moz-cite-prefix">Am 28.11.2016 01:56, schrieb Rafael
      Guerra:<br>
    </div>
    <blockquote
cite="mid:DB5PR04MB15752E76A442110823E9B03DCC8A0@DB5PR04MB1575.eurprd04.prod.outlook.com"
      type="cite">
      <pre wrap="">Works alright every time on Scilab 5.5.2 64-bit Win7 but plot background is grey


-----Original Message-----
From: users [<a class="moz-txt-link-freetext" href="mailto:users-bounces@lists.scilab.org">mailto:users-bounces@lists.scilab.org</a>] On Behalf Of Tim Wescott
Sent: Monday, November 28, 2016 12:19 AM
To: Jens Simon Strom <a class="moz-txt-link-rfc2396E" href="mailto:j.s.strom@hslmg.de"><j.s.strom@hslmg.de></a>
Cc: Users mailing list for Scilab <a class="moz-txt-link-rfc2396E" href="mailto:users@lists.scilab.org"><users@lists.scilab.org></a>
Subject: Re: [Scilab-users] xtitle seems to suppress plot

Over and over, it works every time.

Maybe file a bug report?

On Sun, 2016-11-27 at 23:11 +0100, Jens Simon Strom wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hallo Tim,
It may be of interest that the script works when it is  executed
directly after start of Scilab. All further runs fail - reproducibly.
Tim, would you be so kind to run the script twice on your
installation.
 Cheers
Jens
--------------------------------------------------------------------------------------------------------
Am 27.11.2016 19:41, schrieb Jens Simon Strom:

</pre>
        <blockquote type="cite">
          <pre wrap="">I use scilab-5.5.2. 
I just tried 5.4.0. There the script works.
Cheers
Jens
------------------------------------------------------------------------------------------------------



Am 27.11.2016 19:00, schrieb Tim Wescott:

</pre>
          <blockquote type="cite">
            <pre wrap="">On Sun, 2016-11-27 at 18:06 +0100, Jens Simon Strom wrote:
</pre>
            <blockquote type="cite">
              <pre wrap="">Hallo,
Instead of drawlater/drawnow I prefer the below approach for starting
a figure because no  windows flicker temporarily on the screen. This
works fine exept when 'xtitle' is used.  Inspecting the figure's,
axes', compound's  and polyline's data I get no hint that the axes
should be invisible. How can I make the axes appear without initial
flicker?
xdel(); 
cf=figure("immediate_drawing",'off', 'visible','off');
plot(rand(1,5))
sleep(1000)//only for checking invisibility of new figure
cf.immediate_drawing="on";  cf.visible="on"; 
//xtitle('xtitle seems to suppress plot content.')
Cheers
Jens
</pre>
            </blockquote>
            <pre wrap="">Works fine for me; Scilab 5.5.0 on Ubuntu 14.04.  Background is weird,
though.

-->getversion
 ans  =
 
 scilab-5.5.0   
 


_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
          </blockquote>
          <pre wrap="">
</pre>
        </blockquote>
        <pre wrap="">
</pre>
      </blockquote>
      <pre wrap="">
</pre>
    </blockquote>
    <br>
  </body>
</html>