Re: [Scilab-users] scilab 6.0 beta, command line history and freezes

2016-04-28 Thread Pierre-Aimé Agnel

Hi everyone,

This might be a problem with the libncurses that are packaged (that 
handles terminal display). There is a workaround for fixing it, you can 
force scilab to use your system libs with (for example)


LD_PRELOAD="/lib/x86_64-linux-gnu/libncurses.so.5" bin/scilab -nw

See if this workaround solves that problem:
=> if it solves it, I'll mark it as a duplicate of bug 14404 

=> if not you may update the bug with the result of [the following might 
be interesting if you have a scilab stuck for linux users and bug reporting]

|
gdb --pid=$(pidof scilab-bin scilab-cli-bin lt-scilab-bin 
lt-scilab-cli-bin) --eval-command='thread apply all bt'|


This will attach gdb to your stuck scilab, you can then post the back 
trace and we can analyze where the problem is.


Thank you for reporting, hope this helps,

Pierre-Aimé

Le 28/04/2016 10:59, antoine.monmayr...@laas.fr a écrit :

Hi everyone,

I think I found a bug (regression) in the current beta and I wonder 
whether it is related to my own setup (os, config, ...) or whether 
it's more general.
Is anyone here routinely using the current beta in command line mode 
(ie "scilab -nw" or "scilab-cli") ?
If yes, did you observe anything weird when navigating the command 
history using the up and down arrows?
For me, it freezes scilab for several minutes and does not echo the 
previous commands properly (observed on several linux 64bits 
computers), see http://bugzilla.scilab.org/show_bug.cgi?id=14535 .


Is anyone experiencing the same issue?
As anyone any clue on how to avoid it for the time being (apart from 
ripping off the up/dow arrows from my keyboard)?


Cheers,

Antoine

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] scilab 6.0 beta, command line history and freezes

2016-04-28 Thread Serge Steer

Hello,
I just tried  under Suse 13.2 and it seems to work as expected.

Serge


Le 28/04/2016 10:59, antoine.monmayr...@laas.fr a écrit :

Hi everyone,

I think I found a bug (regression) in the current beta and I wonder 
whether it is related to my own setup (os, config, ...) or whether 
it's more general.
Is anyone here routinely using the current beta in command line mode 
(ie "scilab -nw" or "scilab-cli") ?
If yes, did you observe anything weird when navigating the command 
history using the up and down arrows?
For me, it freezes scilab for several minutes and does not echo the 
previous commands properly (observed on several linux 64bits 
computers), see http://bugzilla.scilab.org/show_bug.cgi?id=14535 .


Is anyone experiencing the same issue?
As anyone any clue on how to avoid it for the time being (apart from 
ripping off the up/dow arrows from my keyboard)?


Cheers,

Antoine

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users



___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] scilab 6.0 beta, command line history and freezes

2016-04-28 Thread antoine . monmayrant

Hi everyone,

I think I found a bug (regression) in the current beta and I wonder 
whether it is related to my own setup (os, config, ...) or whether it's 
more general.
Is anyone here routinely using the current beta in command line mode (ie 
"scilab -nw" or "scilab-cli") ?
If yes, did you observe anything weird when navigating the command 
history using the up and down arrows?
For me, it freezes scilab for several minutes and does not echo the 
previous commands properly (observed on several linux 64bits computers), 
see http://bugzilla.scilab.org/show_bug.cgi?id=14535 .


Is anyone experiencing the same issue?
As anyone any clue on how to avoid it for the time being (apart from 
ripping off the up/dow arrows from my keyboard)?


Cheers,

Antoine

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] {EXT} Set axes limit for plot

2016-04-28 Thread Dang Ngoc Chan, Christophe
Hello,

> De : Shamika Mohanan
> Envoyé : jeudi 28 avril 2016 08:19
>
> How do I set the minimum and maximum values for the axes in a plot?
> When I use the plot command as
> plot(x1,y1,x2,y2)
> [...] How do I set the axis from 25 to 100 for both x and y axes?

You should try :

plot(x1,y1,x2,y2)

h = gca(); // get current axes

h.data_bounds = [25, 25 ; 100, 100];

See : https://help.scilab.org/docs/5.5.2/en_US/axes_properties.html

Regards

--
Christophe Dang Ngoc Chan
Mechanical calculation engineer
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error), please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] {EXT} Set axes limit for plot

2016-04-28 Thread Dang Ngoc Chan, Christophe
I forgot: you should also add :

h.tight_limits=["on","on"];

Regards

--
Christophe Dang Ngoc Chan
Mechanical calculation engineer
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error), please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] Set axes limit for plot

2016-04-28 Thread Shamika Mohanan
How do I set the minimum and maximum values for the axes in a plot?

When I use the plot command as

plot(x1,y1,x2,y2)

I get the plot where x axis is from 0 to 100 and y axis is from -20 to 120.
How do I set the axis from 25 to 100 for both x and y axes?

Shamika
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users