Re: [Scilab-users] command longer than 4096

2022-11-17 Thread Federico Miyara


Christopher,

Yes, you understand correctly my case.

There is a reason that justifies my request: I often use my scripts as 
examples within a didactic context. They are exhaustively commented, for 
instance. I consider it preferable to have all the needed data in the 
same script since I cannot be sure that potential future users who find 
my script will also find the associated file with the data (sometimes 
one downloads a file for future use without checking whether we are 
downloading all the associated files).


Then they should also change the script according to the particular 
directory tree where they choose to place the data, which is an 
unnecessary distraction from the very point of the example.


I agree that it wouldn't be convenient nor practical to work in this way 
with very large data sets, but some 1000 data is not unusual.


Regards,

Federico Miyara

On 17/11/2022 05:16, Dang Ngoc Chan, Christophe wrote:

Hello Federico,


De : users  De la part de Federico
Miyara Envoyé : jeudi 17 novembre 2022 03:36

I have to create a vector from a plain text containing about 700 decimal 
numbers, each one with several digits.
[...]
Is there a simple way to do this other than [...] saving the data as a
text file

To be sure I understand well :
in your Scilab script, you have something like

foo = [3.14, 1.414 ; 1.732 ...

with the 700 numbers written inside your script?

Of course your request is legitimate but IMHO, this is really not the best 
practice.
I warmly recommend to have the 700 numbers in a separate file.

Regards

--
Christophe Dang Ngoc Chan
Mechanical calculation engineer

General
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
Click here to unsubscribe: 
http://lists.scilab.org/mailman/listinfo/users






--
El software de antivirus Avast ha analizado este correo electrónico en busca de 
virus.
https://www.avast.com/antivirus
___
users mailing list - users@lists.scilab.org
Click here to unsubscribe: 
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Problem with plotting on Ubuntu 22.04 LTS

2022-11-17 Thread Federico Miyara


In principle it doesn´t sound reasonable to have to change the hardware 
when it worked fine in another version of the operatig system. Probably 
it is a driver problem. Perhaps the issue should be posted to the Ubuntu 
community besides this list.


Regards,

Federico Miyara

On 17/11/2022 05:56, Jean-Yves Baudais wrote:

Le 17/11/2022 à 05:46, Samuel Enibe a écrit :
If anyone has an idea how to solve this problem,  it will be 
appreciated. It was SCILAB graphics was working very well under 
Ubuntu 20.04 LTS. I didn't change anything in the hardware.


I did and got exactly the the same and to solve the problem I tested 
different graphic cards and pilotes. So if you can change de graphics 
card or the pilote... The graphic aspects are really annoying...


--Jean-Yves
___
users mailing list - users@lists.scilab.org
Click here to unsubscribe: 
http://lists.scilab.org/mailman/listinfo/users






--
El software de antivirus Avast ha analizado este correo electrónico en busca de 
virus.
https://www.avast.com/antivirus
___
users mailing list - users@lists.scilab.org
Click here to unsubscribe: 
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Problem with plotting on Ubuntu 22.04 LTS

2022-11-17 Thread Jean-Yves Baudais

Le 17/11/2022 à 05:46, Samuel Enibe a écrit :
If anyone has an idea how to solve this problem,  it will be 
appreciated. It was SCILAB graphics was working very well under Ubuntu 
20.04 LTS. I didn't change anything in the hardware.


I did and got exactly the the same and to solve the problem I tested 
different graphic cards and pilotes. So if you can change de graphics 
card or the pilote... The graphic aspects are really annoying...


--Jean-Yves
___
users mailing list - users@lists.scilab.org
Click here to unsubscribe: 
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] command longer than 4096

2022-11-17 Thread Dang Ngoc Chan, Christophe
Hello Federico,

> De : users  De la part de Federico
> Miyara Envoyé : jeudi 17 novembre 2022 03:36
>
> I have to create a vector from a plain text containing about 700 decimal 
> numbers, each one with several digits.
> [...]
> Is there a simple way to do this other than [...] saving the data as a
> text file

To be sure I understand well :
in your Scilab script, you have something like

foo = [3.14, 1.414 ; 1.732 ...

with the 700 numbers written inside your script?

Of course your request is legitimate but IMHO, this is really not the best 
practice.
I warmly recommend to have the 700 numbers in a separate file.

Regards

--
Christophe Dang Ngoc Chan
Mechanical calculation engineer

General
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
Click here to unsubscribe: 
http://lists.scilab.org/mailman/listinfo/users