Re: [Scilab-users] Scilab 6 notes on upgrading Scilab 5 code

2016-09-28 Thread Rafael Guerra
(sorry - correction)



Hi Samuel,



Thanks for the very useful link, which provides key information that does not 
seem to be (totally) in: https://help.scilab.org/docs/6.0.0/en_US/CHANGES.html

Maybe the latter document could be updated with (a summary) of the former.



Regards,

Rafael



-Original Message-

From: users [mailto:users-boun...@lists.scilab.org] On Behalf Of Samuel Gougeon

Sent: Wednesday, September 28, 2016 8:44 PM

To: Users mailing list for Scilab 
>

Subject: Re: [Scilab-users] Scilab 6 notes on upgrading Scilab 5 code



Le 28/09/2016 18:30, 
clement.da...@scilab-enterprises.com
 a écrit :

>

> Hello Rafael,

>

> Currently there is a only the detailed CHANGES.md file with key

> modifications described in a specific section.

>

> I guess it might also be good to have something like a wiki page

> describing the modifications "from a user point of view". Maybe an

> advanced user or contributor already started something.

>



Better than that: You have dreamt about it, Pierre-Aimé did it :

https://wiki.scilab.org/FromScilab5ToScilab6

:)



___

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
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Scilab 6 notes on upgrading Scilab 5 code

2016-09-28 Thread Rafael Guerra
Hi Samuel,

Thanks for the very useful link, which provided key information that does seem 
to be (totally) in: https://help.scilab.org/docs/6.0.0/en_US/CHANGES.html
Maybe the latter document could be updated with (a summary) of the former.

Regards,
Rafael

-Original Message-
From: users [mailto:users-boun...@lists.scilab.org] On Behalf Of Samuel Gougeon
Sent: Wednesday, September 28, 2016 8:44 PM
To: Users mailing list for Scilab 
Subject: Re: [Scilab-users] Scilab 6 notes on upgrading Scilab 5 code

Le 28/09/2016 18:30, clement.da...@scilab-enterprises.com a écrit :
>
> Hello Rafael,
>
> Currently there is a only the detailed CHANGES.md file with key 
> modifications described in a specific section.
>
> I guess it might also be good to have something like a wiki page 
> describing the modifications "from a user point of view". Maybe an 
> advanced user or contributor already started something.
>

Better than that: You have dreamt about it, Pierre-Aimé did it :
https://wiki.scilab.org/FromScilab5ToScilab6
:)

___
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 notes on upgrading Scilab 5 code

2016-09-28 Thread Samuel Gougeon

Le 28/09/2016 18:30, clement.da...@scilab-enterprises.com a écrit :


Hello Rafael,

Currently there is a only the detailed CHANGES.md file with key 
modifications described in a specific section.


I guess it might also be good to have something like a wiki page 
describing the modifications "from a user point of view". Maybe an 
advanced user or contributor already started something.




Better than that: You have dreamt about it, Pierre-Aimé did it :
https://wiki.scilab.org/FromScilab5ToScilab6
:)

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


Re: [Scilab-users] Scilab 6 notes on upgrading Scilab 5 code

2016-09-28 Thread Rafael Guerra
Hi Claus,
Many thanks for the link to that very helpful page, of which I was unaware of.

Hi Clement: that content seems very well organized and should meet all user 
needs. If there is anything missing, the users' feedback could be updated there.

Kind regards,
Rafael

From: users [mailto:users-boun...@lists.scilab.org] On Behalf Of Claus Futtrup
Sent: Wednesday, September 28, 2016 6:53 PM
To: users@lists.scilab.org
Subject: Re: [Scilab-users] Scilab 6 notes on upgrading Scilab 5 code

Hi Rafael

For a start, see https://help.scilab.org/docs/6.0.0/en_US/CHANGES.html

This details the changes in 6.0.0 beta-2 compared to 5.5.2.

In particular see the section "Syntax Modifications" and "Feature changes and 
additions".

In practice I just execute my 5.5 code and see if Scilab is OK with it.



  *   1./M is now parsed as 1 ./ M instead of 1. / M

Thank goodness. :-)

/Claus

On 28-09-2016 18:30, 
clement.da...@scilab-enterprises.com
 wrote:

Hello Rafael,

Currently there is a only the detailed CHANGES.md file with key modifications 
described in a specific section.

I guess it might also be good to have something like a wiki page describing the 
modifications "from a user point of view". Maybe an advanced user or 
contributor already started something. Do you have some ideas about the 
expected content ?

Thanks,

--
Clement

On Sep 28, 2016 16:20, Rafael Guerra 
 wrote:

Dear Scilab'ers,



Is there a comprehensive list of the key changes in Scilab 6 that one must bear 
in mind when trying to upgrade existing Scilab 5 code?



Thanks and regards,

Rafael







___

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 notes on upgrading Scilab 5 code

2016-09-28 Thread Claus Futtrup

Hi Rafael

For a start, see https://help.scilab.org/docs/6.0.0/en_US/CHANGES.html

This details the changes in 6.0.0 beta-2 compared to 5.5.2.

In particular see the section "Syntax Modifications" and "Feature 
changes and additions".


In practice I just execute my 5.5 code and see if Scilab is OK with it.

 * |1./M|is now parsed as|1 ./ M|instead of|1. / M|


Thank goodness. :-)

/Claus

On 28-09-2016 18:30, clement.da...@scilab-enterprises.com wrote:


Hello Rafael,

Currently there is a only the detailed CHANGES.md file with key 
modifications described in a specific section.


I guess it might also be good to have something like a wiki page 
describing the modifications "from a user point of view". Maybe an 
advanced user or contributor already started something. Do you have 
some ideas about the expected content ?


Thanks,

--
Clement


On Sep 28, 2016 16:20, Rafael Guerra  wrote:

Dear Scilab’ers,

Is there a comprehensive list of the key changes in Scilab 6 that
one must bear in mind when trying to upgrade existing Scilab 5 code?

Thanks and regards,

Rafael




___
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 notes on upgrading Scilab 5 code

2016-09-28 Thread clement . david
Hello Rafael,
Currently there is a only the detailed CHANGES.md file with key modifications described in a specific section.
I guess it might also be good to have something like a wiki page describing the modifications "from a user point of view". Maybe an advanced user or contributor already started something. Do you have some ideas about the expected content ?
Thanks,
--
Clement
On Sep 28, 2016 16:20, Rafael Guerra  wrote:









Dear Scilab’ers,
 
Is there a comprehensive list of the key changes in Scilab 6 that one must bear in mind when trying to upgrade existing Scilab 5 code?
 
Thanks and regards,
Rafael
 



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


Re: [Scilab-users] [EXTERNAL] Re: scilab 6.00 beta2 crash (feedback)

2016-09-28 Thread Carrico, Paul
Ok for bugzilla (sorry for that)

Nota :  k is a vector . at least in Scilab 5.5.4

EXPORT CONTROL :
Cet email ne contient pas de données techniques
This email does not contain technical data

De : users [mailto:users-boun...@lists.scilab.org] De la part de Paul Bignier
Envoyé : mercredi 28 septembre 2016 15:57
À : Users mailing list for Scilab
Objet : [EXTERNAL] Re: [Scilab-users] scilab 6.00 beta2 crash (feedback)




Hi Paul,

The line "k = [1:n]'.*.ones(n,1);" intends to produce a 50001x50001 (total 2.5 
billion) matrix, which goes over the int32 limit of 2147483647 (2.147 billion), 
that provokes the inner sizes to wrap and become negative, leading to the crash.

If you try k = [1:n/2]'.*.ones(n/2,1); it will work but eat up your ram. If you 
try it a few times a message will say "Can not allocate 'XXX' MB memory." 
because it can still deal with such sizes.

So are you sure about what you want to do?

In the future when you get crashes, please report them on the 
bugzilla.

Thank you,

Best regards,

Paul


On 09/28/2016 03:34 PM, Carrico, Paul wrote:
Hi all,

Here is a feedback of a crash of  scilab 6.00 beta2; I used the code here 
bellow on a 32 Go CentOS 7 machine.

Ligne 951 : 2650 Erreur de segmentation (core dumped)  ''$SCILABBIN'' ''$@''

t = [0:2e-5:1]';
n = size(t,"*");
X = zeros(n,1);
k = [1:n]'.*.ones(n,1);
m = ones(n,1).*.[1:n]';
nl = size(m,"*");
tmp = zeros(nl,1);

Paul

EXPORT CONTROL :
Cet email ne contient pas de données techniques
This email does not contain technical data





___

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


[Scilab-users] Scilab 6 notes on upgrading Scilab 5 code

2016-09-28 Thread Rafael Guerra
Dear Scilab'ers,



Is there a comprehensive list of the key changes in Scilab 6 that one must bear 
in mind when trying to upgrade existing Scilab 5 code?



Thanks and regards,

Rafael


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


Re: [Scilab-users] [EXTERNAL] Re: scilab 6.00 beta2 crash (feedback)

2016-09-28 Thread Paul Bignier


My bad, a 50001*50001x1 vector!

Paul


On 09/28/2016 04:05 PM, Carrico, Paul wrote:


Ok for bugzilla (sorry for that)

/_Nota_/:  k is a vector ….. at least in Scilab 5.5.4

*/EXPORT CONTROL :
/**Cet email ne contient pas de données techniques
This email does not contain technical data*

*De :*users [mailto:users-boun...@lists.scilab.org] *De la part de* 
Paul Bignier

*Envoyé :* mercredi 28 septembre 2016 15:57
*À :* Users mailing list for Scilab
*Objet :* [EXTERNAL] Re: [Scilab-users] scilab 6.00 beta2 crash (feedback)

Hi Paul,

The line "k =[1:n]'.*.ones(n,1);" intends to produce a 50001x50001 
(total 2.5 billion) matrix, which goes over the int32 limit of 
2147483647 (2.147 billion), that provokes the inner sizes to wrap and 
become negative, leading to the crash.


If you try k =[1:n/2]'.*.ones(n/2,1); it will work but eat up your 
ram. If you try it a few times a message will say "Can not allocate 
'XXX' MB memory." because it can still deal with such sizes.


So are you sure about what you want to do?

In the future when you get crashes, please report them on the bugzilla 
.


Thank you,

Best regards,

Paul

On 09/28/2016 03:34 PM, Carrico, Paul wrote:

Hi all,

Here is a feedback of a crash of  scilab 6.00 beta2; I used the
code here bellow on a 32 Go CentOS 7 machine.

Ligne 951 : 2650 Erreur de segmentation (core dumped) 
‘’$SCILABBIN’’ ‘’$@’’


t =[0:2e-5:1]';

n =size(t,"*");

X =zeros(n,1);

k =[1:n]'.*.ones(n,1);

m =ones(n,1).*.[1:n]';

nl =size(m,"*");

tmp =zeros(nl,1);

Paul

*/EXPORT CONTROL :
/**Cet email ne contient pas de données techniques
This email does not contain technical data*




___

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


--
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.00 beta2 crash (feedback)

2016-09-28 Thread Paul Bignier


Hi Paul,

The line "k= [1:n]'.*.ones(n,1);" intends to produce a 50001x50001 
(total 2.5 billion) matrix, which goes over the int32 limit of 
2147483647 (2.147 billion), that provokes the inner sizes to wrap and 
become negative, leading to the crash.


If you try k= [1:n/2]'.*.ones(n/2,1); it will work but eat up your ram. 
If you try it a few times a message will say "Can not allocate 'XXX' MB 
memory." because it can still deal with such sizes.


So are you sure about what you want to do?

In the future when you get crashes, please report them on the bugzilla 
.


Thank you,

Best regards,

Paul


On 09/28/2016 03:34 PM, Carrico, Paul wrote:


Hi all,

Here is a feedback of a crash of  scilab 6.00 beta2; I used the code 
here bellow on a 32 Go CentOS 7 machine.


Ligne 951 : 2650 Erreur de segmentation (core dumped)  ‘’$SCILABBIN’’ 
‘’$@’’


t= [0:2e-5:1]';

n= size(t,"*");

X= zeros(n,1);

k= [1:n]'.*.ones(n,1);

m= ones(n,1).*.[1:n]';

nl= size(m,"*");

tmp= zeros(nl,1);

Paul

*/EXPORT CONTROL :
/**Cet email ne contient pas de données techniques
This email does not contain technical data*



___
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


[Scilab-users] scilab 6.00 beta2 crash (feedback)

2016-09-28 Thread Carrico, Paul
Hi all,

Here is a feedback of a crash of  scilab 6.00 beta2; I used the code here 
bellow on a 32 Go CentOS 7 machine.

Ligne 951 : 2650 Erreur de segmentation (core dumped)  ''$SCILABBIN'' ''$@''

t = [0:2e-5:1]';
n = size(t,"*");
X = zeros(n,1);
k = [1:n]'.*.ones(n,1);
m = ones(n,1).*.[1:n]';
nl = size(m,"*");
tmp = zeros(nl,1);

Paul

EXPORT CONTROL :
Cet email ne contient pas de données techniques
This email does not contain technical data

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


Re: [Scilab-users] Plot with two different y-axis as one plot

2016-09-28 Thread Frieder Nikolaisen

Thank you.

Am 28.09.2016 12:35, schrieb sgoug...@free.fr:

Hello,


I did attach a plot, now 20kB, of a pump from an old exam. The plot
does provide SI dimensions as well as US ones. Thats why there are 
three

x-axis and two y-axis.


For this kind of case where
 * you want different axes _for the same data_
 * all expected axes are linear (not logarithmic),
drawaxis() can be used to add extra axes, instead of newaxes().

HTH
Samuel Gougeon
___
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] conformal maps for image distortion in Scilab?

2016-09-28 Thread Günter Bachelier
I am interested in using conformal maps for image distortion and I am 
looking for software environments that can do this. I found methods for


- Mathematica 
(http://community.wolfram.com/groups/-/m/t/854405?p_p_auth=TLh6kMXL),


- Maple 
(http://www.mapleprimes.com/questions/214724-Conformal-Maps-For-Image-Distortion) 
and


- MatLab 
(http://de.mathworks.com/help/images/examples/exploring-a-conformal-mapping.html). 



For obvious reasons I would prefer open source solutions therefore I 
would like to know if (and how) Scilab is able to transform images with 
conformal maps (with high quality output i.e. no aliasing)? Thank you 
very much!


best regards
Günter Bachelier





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


Re: [Scilab-users] Plot with two different y-axis as one plot

2016-09-28 Thread sgougeon
Hello,

>I did attach a plot, now 20kB, of a pump from an old exam. The plot 
>does provide SI dimensions as well as US ones. Thats why there are three 
>x-axis and two y-axis.

For this kind of case where
 * you want different axes _for the same data_
 * all expected axes are linear (not logarithmic),
drawaxis() can be used to add extra axes, instead of newaxes().

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


Re: [Scilab-users] Plot with two different y-axis as one plot

2016-09-28 Thread Frieder Nikolaisen

Dear Mr. Gougeon´,


my mail was blocked, because I had a 150kB Picture attached...

I did you the plotyyy demo for my Programm. It's a nice result. I still 
have a Trouble by putting the plots on each other: I did build a user 
Interface with the guibuilder tool 3.0. There I did use the Axes tool to 
have my plotyyy in the same window. But only my ploty ist plotted in the 
White area and the other two plots are in the entire window. How to 
solve this?



I did attach a plot, now 20kB, of a pump from an old exam. The plot 
does provide SI dimensions as well as US ones. Thats why there are three 
x-axis and two y-axis.


Best regards
Frieder Nikolaisen


Am 26.09.2016 18:29, schrieb sgoug...@free.fr:

De: "Frieder Nikolaisen"
.../...
I do use the ScilabHelp, but I cannot find a plotyyy. That isn't the 
Demos?


no. To get and use the demos manager, you may run
--> demo_gui


.../... In this case, if I zoom in after
plotting, that might be called interactiv, I only zoom in the later
plotted graph, not both. So I cannot compare both Graphs, because 
they

are now related to two "different" x-axis.


Sure. This is the bug fixed last summer.
Installing the most recent nightly release of Scilab takes 3 mn
and does not require uninstalling your running stable 5.5.2 release.
You may have as many different Scilab installed versions as you want,
in parallel. This is a common situation for developers or others.


There isn't a plotyyy function in SciLab, only the workaround?

It is not a work-around. A native plotyyy() is not really needed.
Then why not a plot, ploty, plotxx, plotxxx, plotxxyy, etc?
Such a collection would be quite meaningless.
Only the fact that you can build the desired multiaxes plot function
of your dream and needs is meaningful. Scilab enables you to do so.



What do you mean by "2 on both sides"?


Having four Graphs with four different y-axis (instead of only two).
It's quite common in my field of engineering.


Would you have a snapshot of such a plot?
When there are really many plots sharing the same x-axis for 
different y

scales, another solution is to use subplot(n,1,i) instructions with
multiple plot2d(x, yi) with the shared x absissae.

HTH
Regards
Samuel Gougeon
___
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