Re: [Scilab-users] Circular contour plot

2016-04-29 Thread Jens Simon Strom
Hallo Rafael, your script is perfect, mine isn't. Where is the bug? Regards, Jens clc(), clear(), mode(0),lines(0) R=1.; //Radius Erde a=50;//Abstand Mond - Erde g0=1; //Schwerebeschleunigung des Mondes im Zentrum der Erde VLev=[-0.02:0.002:0.02]; //Werte der

Re: [Scilab-users] Circular contour plot

2016-04-29 Thread Rafael Guerra
Hello, Is the following example ok? t=-%pi:0.02:%pi; M=sin(t)'*cos(t); n=length(t); r=2; //radius for i=1:n for j=1:n if sqrt(t(i)^2+t(j)^2)>r then M(i,j)=%nan; end end end clf(); Sgrayplot(t,t,M); Otherwise, could you provide a sample of your pb script. Regards, Rafael

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

2016-04-29 Thread Pierre-Aimé Agnel
Hi, Basically, Yes :) 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

[Scilab-users] Circular contour plot

2016-04-29 Thread Jens Simon Strom
Hallo Scilab afficionados, I would like to cut off all lines of a 2D contour plot which are outside of a circle. I tried to set all external x and y to %nan. This works however partially spoils the plot /inside/ the circle too. Polar organisation of the x-y-points doesn't help either because

[Scilab-users] Hiding the long function scifunc_block

2016-04-29 Thread Dr.Umut Durak
Folks, I have a long function expression in one of my scifunc_block. The block as default annotates the block with the exptession, which is quite good when the function is not that long. But this case it is a long one and I would like to hide the expression in the model but failed to find

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

2016-04-29 Thread Antoine Monmayrant
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,

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

2016-04-29 Thread Antoine Monmayrant
Le 04/28/2016 06:47 PM, Pierre-Aimé Agnel a écrit : LD_PRELOAD="/lib/x86_64-linux-gnu/libncurses.so.5" bin/scilab -nw That solved the problem! Thanks a lot. I'll update the bug report. Cheers, Antoine ___ users mailing list users@lists.scilab.org