Re: [Scilab-users] How to find the number of polylines automatically

2016-05-02 Thread sgougeon
>De: "Jens Simon Strom"
>
>You didn't miss anything. I did: I tried size but I did not try length 
>although it is so self-evident.

size(ca.children,1) // works as well
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] How to find the number of polylines automatically

2016-05-02 Thread Jens Simon Strom

Hello,
You didn't miss anything. I did: I tried /size/ but I did not try 
/length/ although it is so self-evident.

Solved. Thanks a lot!
Jens
--
Am 02.05.2016 18:51, schrieb sgoug...@free.fr:

Hello,


De: "Jens"
Hi,
By the line

for i=1:n; ca.children(i).children.foreground=5; end

one can change all level lines of a 2D contour plot to red. But how can the
script find n (without manual trial and error)?


With
length(ca.children)
?
I may miss something...

Samuel
___
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] How to find the number of polylines automatically

2016-05-02 Thread sgougeon
Hello,

>De: "Jens"
>Hi,
>By the line
>
>for i=1:n; ca.children(i).children.foreground=5; end
>
>one can change all level lines of a 2D contour plot to red. But how can the
>script find n (without manual trial and error)?


With 
length(ca.children) 
?
I may miss something...

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


[Scilab-users] How to find the number of polylines automatically

2016-05-02 Thread Jens
Hi,
By the line

for i=1:n; ca.children(i).children.foreground=5; end

one can change all level lines of a 2D contour plot to red. But how can the
script find n (without manual trial and error)?
Regards, Jens 

p.s.
I have unadvertently posted this question already, but in the wrong place.
Sorry



--
View this message in context: 
http://mailinglists.scilab.org/How-to-find-the-number-of-polylines-automatically-tp4034060.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] How to find number of polylines automatically

2016-05-02 Thread Jens Simon Strom

Hi,
By the line

for  i=1:n;  ca.children(i).children.foreground=5; end

one can change all level lines of a 2D contour plot to red. But how can 
the script find n (without manual trial and error?

Regards, Jens


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


Re: [Scilab-users] Do I have the C compiler?

2016-05-02 Thread laftek
Hello, i have the same problem. I installed scilab on 3 PC. I installed MinGW
and MinGW toolbox. Evething worked like a charm. Then i uninstalled scilab
and installed again and its now working anymore. Its some bug I think.



--
View this message in context: 
http://mailinglists.scilab.org/Scilab-users-Do-I-have-the-C-compiler-tp4033710p4034057.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] CEVENTSCOPE 2 and more inputs

2016-05-02 Thread laftek
Thanks Paul for really quick respond. Its working now, so silly .



--
View this message in context: 
http://mailinglists.scilab.org/Re-CEVENTSCOPE-2-and-more-inputs-tp4034056p4034058.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] CEVENTSCOPE 2 and more inputs

2016-05-02 Thread Paul Bignier


Hello,

Do you get en error message?
You are supposed to modify the "colors" field so its dimensions matches 
the number of inputs you have set.

For instance if you want 3 inputs, the "color" field can be set to [1 2 3].

Regards,
Paul


On 05/02/2016 03:32 PM, laftek wrote:

Hi guys. I cant set 2 inputs for CEVENTSCOPE block(Event handling). Could you
help me ? Thanks.



--
View this message in context: 
http://mailinglists.scilab.org/CEVENTSCOPE-2-and-more-inputs-tp4034055.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


--
Paul BIGNIER
Development engineer
---
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.68
http://www.scilab-enterprises.com

___
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-05-02 Thread Antoine Monmayrant

Le 04/29/2016 02:13 PM, Pierre-Aimé Agnel a écrit :

Hi,

Basically, Yes :)
OK, could you thus tell me what I am supposed to type to get you the 
backtrace?

I'll update the bug report with it.

Cheers,

Antoine
The problem with such bug is that it is quite difficult to analyze 
properly without a backtrace, and it didn't happen with most system 
configurations (besides it "froze" scilab leaving you no choice but to 
kill it without having the material to report)


Thanks a bunch for the update.

Le 29/04/2016 08:43, Antoine Monmayrant a écrit :

The command below requires a sudo on my system:
|sudo 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.


Er, OK, but what are you talking about?

gdb --please-be-nice-give-me-something-called-a-backtrace?

Antoine
(never used gdb)


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


--
Pierre-Aimé Agnel
R Projects Manager
Phone:  +33.1.80.77.04.67
Mobile: +33.6.82.49.35.23
---
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.60
http://www.scilab-enterprises.com  



___
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