Re: [Scilab-users] issue providing command to powershell

2016-02-03 Thread Samuel Gougeon
Le 03/02/2016 18:27, David Chèze a écrit : finallly it's solved: you don't need doubling, you don't need tripling but you need four double quotes and it works like a charm ! . As posted. Good to know... Better to correct it. Could you report it? thank you , You are welcome Samuel ___

Re: [Scilab-users] issue providing command to powershell

2016-02-03 Thread David Chèze
finallly it's solved: you don't need doubling, you don't need tripling but you need four double quotes and it works like a charm ! Good to know... thank you , David --> pscmd="get-content -Path C:\Users\dc227480\Documents\temp\Données IAQ SENSE 29_01_2016 10_45_00 1.dat.csv | out-file

Re: [Scilab-users] issue providing command to powershell

2016-02-03 Thread David Chèze
Hi Samuel, I tried but was not successful: --> pscmd="get-content -Path """C:\Users\dc227480\Documents\temp\Données IAQ SENSE 29_01_2016 10_45_00 1.dat.csv""" | out-file """C:\Users\dc227480\Documents\temp\Données IAQ SENSE 29_01_2016 10_45_00 1.UTF-8.csv""" -encoding utf8" [Scilab6] pscmd="get-co

Re: [Scilab-users] labels again

2016-02-03 Thread Samuel Gougeon
Le 03/02/2016 18:09, grivet a écrit : Hello, When I do xlabel("$\mbox{fréquence (h}^{-1})$"); ylabel("DSP (échelle logarithmique)" ); I find that the x and y labels are neither in the same font nor in the same size. I have to add "fontsize",3,"fontname","times" (for instance) in o

[Scilab-users] labels again

2016-02-03 Thread grivet
Hello, When I do xlabel("$\mbox{fréquence (h}^{-1})$"); ylabel("DSP (échelle logarithmique)" ); I find that the x and y labels are neither in the same font nor in the same size. I have to add "fontsize",3,"fontname","times" (for instance) in order to get to labels looking almost al

Re: [Scilab-users] mixing normal and math mode in label

2016-02-03 Thread Samuel Gougeon
Le 03/02/2016 17:47, grivet a écrit : Thank you Samuel and Jean-Yves. The line xlabel("$\mbox{fréquence (h}^{-1})$"); does exactly what I wanted. A small complement: the first $ must not be followed by a space and the last $ must not be preceded by a space. . ? No problem for me, even wi

Re: [Scilab-users] mixing normal and math mode in label

2016-02-03 Thread grivet
Thank you Samuel and Jean-Yves. The line xlabel("$\mbox{fréquence (h}^{-1})$"); does exactly what I wanted. A small complement: the first $ must not be followed by a space and the last $ must not be preceded by a space. JP Grivet ___ users maili

Re: [Scilab-users] issue providing command to powershell

2016-02-03 Thread Samuel Gougeon
Le 03/02/2016 16:47, Samuel Gougeon a écrit : Let us know what it yields. . Actually, as editing the macro powershell teaches it, this proposal should work. Fixing the Scilab powershell() code to no longer demand this doubling will be straightforward, whether a bug report is opened (not yet

Re: [Scilab-users] mixing normal and math mode in label

2016-02-03 Thread jbaud...@insa-rennes.fr
Le 03/02/2016 16:30, grivet a écrit : Hello, How can I insert exponents inside a text label ? I tried: xlabel("frequency (h$^{-1}$)"). This did not work for me (Win 7, Scilab 5.5.1): the Latex part is not interpreted but reproduced verbatim. I don’t know how to mix verbatim and LaTeX but all

Re: [Scilab-users] mixing normal and math mode in label

2016-02-03 Thread Samuel Gougeon
Hello, Le 03/02/2016 16:30, grivet a écrit : Hello, How can I insert exponents inside a text label ? I tried: xlabel("frequency (h$^{-1}$)"). This did not work for me (Win 7, Scilab 5.5.1): the Latex part is not interpreted but reproduced verbatim. Thank you for any suggestion JP Grivet . W

[Scilab-users] mixing normal and math mode in label

2016-02-03 Thread grivet
Hello, How can I insert exponents inside a text label ? I tried: xlabel("frequency (h$^{-1}$)"). This did not work for me (Win 7, Scilab 5.5.1): the Latex part is not interpreted but reproduced verbatim. Thank you for any suggestion JP Grivet ___ us

Re: [Scilab-users] issue providing command to powershell

2016-02-03 Thread Samuel Gougeon
Hello, Le 03/02/2016 14:21, David Chèze a écrit : .../... pscmd="get-content -Path ""C:\Users\dc227480\Documents\temp\Données IAQ SENSE 29_01_2016 10_45_00 1.dat.csv"" | out-file ""C:\Users\dc227480\Documents\temp\Données IAQ SENSE 29_01_2016 10_45_00 1.UTF-8.csv"" -encoding utf8" powershell(pscm

[Scilab-users] issue providing command to powershell

2016-02-03 Thread David Chèze
Hi all, to automate some text file encoding conversion to UTF-8 (for csvRead) under windows platform, I'm using the powershell windows native scripting language : PS get-content -Path "C:\Users\dc227480\Documents\temp\Données IAQ SENSE 29_01_2016 10_45_00 1.dat.csv" | out-file "C:\Users\dc227480\