[Scilab-users] xtitle seems to suppress plot
Jens Simon Strom
j.s.strom at hslmg.de
Mon Nov 28 10:05:17 CET 2016
My workaround is to allow Scilab a little nap:
xdel();
cf=figure("immediate_drawing",'off', 'visible','off','background',8);
plot(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')
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'?
Cheers
Jens
----------------------------------------------------------------------------------------------
Am 28.11.2016 01:56, schrieb Rafael Guerra:
> Works alright every time on Scilab 5.5.2 64-bit Win7 but plot background is grey
>
>
> -----Original Message-----
> From: users [mailto:users-bounces at lists.scilab.org] On Behalf Of Tim Wescott
> Sent: Monday, November 28, 2016 12:19 AM
> To: Jens Simon Strom <j.s.strom at hslmg.de>
> Cc: Users mailing list for Scilab <users at lists.scilab.org>
> 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:
>> 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:
>>
>>> 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:
>>>
>>>> On Sun, 2016-11-27 at 18:06 +0100, Jens Simon Strom wrote:
>>>>> 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
>>>> 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
>>>> users at lists.scilab.org
>>>> http://lists.scilab.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20161128/47ed108a/attachment.htm>
More information about the users
mailing list