Re: [Scilab-users] Sgrayplot/champ for non-regular grids

2019-04-17 Thread Dang Ngoc Chan, Christophe
Hello Philippe,

> Apr 16, 2019; 7:45pm Philippe Roux
>
> but is there an easy
> way to convert meshgrid output to a triangulation?

For this, you might try the Delaunay triangulation.

You can find it in the CGLAB Atoms module

https://www.scilab.org/tutorials/introduction-model-reduction

https://atoms.scilab.org/toolboxes/cglab/2.3.2

HTH,

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


Re: [Scilab-users] Help on LaTeX rendering for xstring

2019-04-17 Thread philippe
Hi,

Le 08/04/2019 à 22:08, Federico Miyara a écrit :
> 
> Dear all,
> 
> Is there some way to customize the font size when using xstring?
> 
> For instance
> 
> xstring(0, 0, "$\large p_{1}(t)$")

xstring generate graphic entities of type "Text" which have a
"font_size" property (can vary from 1 to 6) so the easiest way is to get
the handle of this entity and modify the font size :

xstring(0, 0, "$p_{1}(t)$")
E=gce();E.font_size=5

Cheers,
Philippe

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


[Scilab-users] create figure without toolbar, etc

2019-04-17 Thread P M
Dear all,

for creating a plot it is often convenient to hide all toolbars, menubars
etc.

with:

f = figure();f.toolbar_visible = "off"f.menubar_visible =
"off"f.infobar_visible = "off"

it is possible to hide most of the things.

However one bar remains, which is the one displaying the window number
and the question mark.
How to hide these?

Thank you,

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


Re: [Scilab-users] create figure without toolbar, etc

2019-04-17 Thread Antoine ELIAS

Hello Philipp,

The "bar" with the question mark is the docking system, to allow you to 
drag the window in an other Scilab window.
If you don't want dockable system on your window you can set "dockable" 
to "off" at *creation time*.


f = figure("dockable", "off", "toolbar_visible", "off", 
"menubar_visible", "off", "infobar_visible", "off");


Regards,
Antoine
Le 17/04/2019 à 10:16, P M a écrit :

Dear all,

for creating a plot it is often convenient to hide all toolbars, 
menubars etc.


with:

f  =  figure();
f.toolbar_visible  =  "off"
f.menubar_visible  =  "off"
f.infobar_visible  =  "off" it is possible to hide most of the things.
However one bar remains, which is the one displaying the window number 
and the question mark. How to hide these?

Thank you,
Philipp


___
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] Problem with reglin function

2019-04-17 Thread csoulard
Hello,

I am trying to perform a linear regression using the reglin function and I
am facing a problem. See below the code I am trying to run :

Data_Zeta = [
4.4142e+04  6.5750e+01
4.6287e+04  7.0186e+01
5.4734e+04  6.0947e+01
1.4098e+05  5.9598e+01
1.5908e+05  6.0502e+01
1.6466e+05  4.2313e+01
2.4231e+05  4.0173e+01
2.8891e+05  4.0598e+01
4.6669e+05  3.2083e+01
5.8211e+05  3.2542e+01
]; // The dataset to perform the regression

plot(Data_Zeta(:,1),Data_Zeta(:,2),'bo') // Optional line to plot the
dataset

[a,b,sig] = reglin(Data_Zeta(:,1),Data_Zeta(:,2)); // Call of the reglin
function

I am getting the following error message in the console : ATTENTION : armax
: z*z' est numériquement singulier.

Which can be translated as : WARNING : armax : z * z' is numerically
singular

Then I am getting variables a and sig as 10x10 matrices filled with zeros,
and b a 10x1 vector identical to Data_Zeta(:,2).

Do you know what I am doing wrong ?

Thank you for your feedback.



--
Sent from: 
http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Problem with reglin function

2019-04-17 Thread Rafael Guerra
Transpose X and Y vectors:

[a,b,sig] = reglin(Data_Zeta(:,1)',Data_Zeta(:,2)'); // Call of the reglin 
function
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Problem with reglin function

2019-04-17 Thread csoulard
That worked, thanks for your help !

Indeed, it is mentioned in the help of the reglin function that x and y
should be of size (p,n) and (q,n) respectively, with n being the number of
samples, but I missed that part.



--
Sent from: 
http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] create figure without toolbar, etc

2019-04-17 Thread P M
Thanks a lot.

Am Mi., 17. Apr. 2019 um 11:10 Uhr schrieb Antoine ELIAS <
antoine.el...@scilab-enterprises.com>:

> Hello Philipp,
>
> The "bar" with the question mark is the docking system, to allow you to
> drag the window in an other Scilab window.
> If you don't want dockable system on your window you can set "dockable" to
> "off" at *creation time*.
>
> f = figure("dockable", "off", "toolbar_visible", "off", "menubar_visible",
> "off", "infobar_visible", "off");
>
> Regards,
> Antoine
> Le 17/04/2019 à 10:16, P M a écrit :
>
> Dear all,
>
> for creating a plot it is often convenient to hide all toolbars, menubars
> etc.
>
> with:
>
> f = figure();f.toolbar_visible = "off"f.menubar_visible = 
> "off"f.infobar_visible = "off"
> it is possible to hide most of the things.
>
> However one bar remains, which is the one displaying the window number and 
> the question mark.
> How to hide these?
>
>
> Thank you,
>
> Philipp
>
>
>
> ___
> users mailing 
> listusers@lists.scilab.orghttp://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