Re: [Scilab-users] Using Scilab on Linux Mint

2023-10-14 Thread Samuel Enibe
This has been a recurring problem since SCILAB version 6.1

Following suggestions on this forum, I solved it on my UBUNTU installation by 
typing the following commands on the console:

export _JAVA_OPTIONS="-Djogl.disable.openglcore"

scilab &

Samuel Ogbonna Enibe
BEng (Nig), MSc (Reading, England), PhD (Nig)
Professor of Mechanical Engineering
Formerly Dean, Faculty of Engineering (01/08/2014 to 31/07/2016)
University of Nigeria, Nsukka, Nigeria

On Fri, Oct 13, 2023 at 9:12 PM Federico Miyara 
mailto:fmiy...@fceia.unr.edu.ar>> wrote:

Dear All,

I'm trying to use Scilab on Linux Mint 21.2 (which is similar to or
derived from Ubuntu) and I can't plot anything. The figure window is
created but it appears completely blank when plot() is used.

Any help, please?

Thanks in advance.

Regards,

Federico Miyara


--
Este correo electrónico ha sido analizado en busca de virus por el software 
antivirus de Avast.
www.avast.com
___
users mailing list - users@lists.scilab.org
Click here to unsubscribe: 
>
https://lists.scilab.org/mailman/listinfo/users
This email and any attachments are intended solely for the use of the 
individual or entity to whom it is addressed and may be confidential and/or 
privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email 
and all attachments,

(iii) Dassault Systèmes does not accept or assume any liability or 
responsibility for any use of or reliance on this email.


Please be informed that your personal data are processed according to our data 
privacy policy as described on our website. Should you have any questions 
related to personal data protection, please contact 3DS Data Protection Officer 
https://www.3ds.com/privacy-policy/contact/


This email and any attachments are intended solely for the use of the 
individual or entity to whom it is addressed and may be confidential and/or 
privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email 
and all attachments,

(iii) Dassault Systèmes does not accept or assume any liability or 
responsibility for any use of or reliance on this email.


Please be informed that your personal data are processed according to our data 
privacy policy as described on our website. Should you have any questions 
related to personal data protection, please contact 3DS Data Protection Officer 
https://www.3ds.com/privacy-policy/contact/

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


Re: [Scilab-users] Plotting on left and right y axes

2023-04-30 Thread Samuel Enibe
Thank you very much, Heinz,  for your very helpful and timely response. I am 
very grateful.

God bless you.

Samuel Enibe

On Sat, 29 Apr 2023, 20:42 Heinz Nabielek, 
mailto:heinznabie...@me.com>> wrote:
Friends:

here is one working example
Heinz


B=read('155508.txt',155508,2);
v=B(:,2);
plot(35,.2,'k+');
histplot(-0.5:30.5,v,style=2);
xgrid();
h1=gca();h1.font_size=4;
xlabel('wind speed (m/s)','fontsize',4);
ylabel('wind speed probability ()','fontsize',4);
title('Power Generation is given by wind speed probability X turbine 
performance','fontsize',4);
// Axis y2
h2=newaxes();
c=color("red");
h2.font_color=c;
h2.font_size=4;
plot(35,2,'k+');
function [y]=eff(x)
y=min(((x/10.7).^3),1) .* (x>3) .*(x<=25)
endfunction
xx=0:.1:31;EFF=eff(xx);
plot(xx,EFF,'r-','Linewidth',5);
h2.filled="off";
h2.axes_visible(1)="off";
h2.y_location="right";
h2.children(1).children(1).thickness=2;
ylabel('relative turbine performance','fontsize',4);



Date: Fri, 28 Apr 2023 17:32:02 +0100
From: Samuel Enibe mailto:samuel.en...@unn.edu.ng>>
To: Users mailing list for Scilab 
mailto:users@lists.scilab.org>>
Subject: [Scilab-users] Plotting on left and right y axes
Message-ID:
   
mailto:CAJKcLoW1r0dOZTUcOf=dj2vgjp_+nbudajdqjk5dtoe0xyh...@mail.gmail.com>>
Content-Type: text/plain; charset="utf-8"

How can I plot two graphs on the same window,  with graph 1 on the left y
axis,  and graph 2 on the right y axis.

For example,

x = 1:4;
y1 = x.^2;
y2 = x.^3;
plot(x, y1);// y1 on left y axis
plot (x. y2);// y2 on right y axis

Your assistance will be greatly appreciated.

Samuel Enibe

This email and any attachments are intended solely for the use of the 
individual or entity to whom it is addressed and may be confidential and/or 
privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email 
and all attachments,

(iii) Dassault Systèmes does not accept or assume any liability or 
responsibility for any use of or reliance on this email.


Please be informed that your personal data are processed according to our data 
privacy policy as described on our website. Should you have any questions 
related to personal data protection, please contact 3DS Data Protection Officer 
https://www.3ds.com/privacy-policy/contact/

___
users mailing list - users@lists.scilab.org
Click here to unsubscribe: <mailto:users-unsubscr...@lists.scilab.org>
https://lists.scilab.org/mailman/listinfo/users


[Scilab-users] Plotting on left and right y axes

2023-04-28 Thread Samuel Enibe
How can I plot two graphs on the same window,  with graph 1 on the left y axis, 
 and graph 2 on the right y axis.

For example,

 x = 1:4;
y1 = x.^2;
y2 = x.^3;
plot(x, y1);// y1 on left y axis
plot (x. y2);// y2 on right y axis

Your assistance will be greatly appreciated.

Samuel Enibe


This email and any attachments are intended solely for the use of the 
individual or entity to whom it is addressed and may be confidential and/or 
privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email 
and all attachments,

(iii) Dassault Systèmes does not accept or assume any liability or 
responsibility for any use of or reliance on this email.


Please be informed that your personal data are processed according to our data 
privacy policy as described on our website. Should you have any questions 
related to personal data protection, please contact 3DS Data Protection Officer 
https://www.3ds.com/privacy-policy/contact/

___
users mailing list - users@lists.scilab.org
Click here to unsubscribe: <mailto:users-unsubscr...@lists.scilab.org>
https://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Arrow on line from (x1, y1) to (x2, y2)

2023-03-07 Thread Samuel Enibe
Thank you very much for the suggestions.

I tried both the xarrows function and polyline_style properties as suggested 
and both of them worked. For my particular application, the polyline_sylte was 
more convenient.

I am very grateful for the quick responses.

Samuel Ogbonna Enibe
Department of Mechanical Engineering
University of Nigeria, Nsukka, Nigeria

On Tue, Mar 7, 2023 at 8:57 AM Stéphane Mottelet 
mailto:stephane.motte...@utc.fr>> wrote:
Hello Guys,

If you have time you could have this discussion on
discourse.scilab.utc.fr<http://discourse.scilab.utc.fr>, which is a *much* 
better place, where you have
many formatting options, easy graphics inclusion, and so on.

S.

Le 06/03/2023 à 21:57, Heinz Nabielek a écrit :
> A simple demo:
> yy=0.01;
> x1=[580 56]; x2=[yy yy];
> xarrows(x1,x2,555,6);
> Heinz
>
> This email and any attachments are intended solely for the use of the 
> individual or entity to whom it is addressed and may be confidential and/or 
> privileged.
>
> If you are not one of the named recipients or have received this email in 
> error,
>
> (i) you should not read, disclose, or copy it,
>
> (ii) please notify sender of your receipt by reply email and delete this 
> email and all attachments,
>
> (iii) Dassault Systèmes does not accept or assume any liability or 
> responsibility for any use of or reliance on this email.
>
>
> Please be informed that your personal data are processed according to our 
> data privacy policy as described on our website. Should you have any 
> questions related to personal data protection, please contact 3DS Data 
> Protection Officer https://www.3ds.com/privacy-policy/contact/
>
>
>
>> On 06.03.2023, at 18:53, Samuel Enibe 
>> mailto:samuel.en...@unn.edu.ng>> wrote:
>>
>> I need to attach an arrow to a line pointing from (x1, y1) to (x2, y2).
>>
>> How can this be done?
>>
>> Your assistance will be greatly appreciated.
>>
>> Samuel Enibe
>> This email and any attachments are intended solely for the use of the 
>> individual or entity to whom it is addressed and may be confidential and/or 
>> privileged.
>> If you are not one of the named recipients or have received this email in 
>> error,
>> (i) you should not read, disclose, or copy it,
>> (ii) please notify sender of your receipt by reply email and delete this 
>> email and all attachments,
>> (iii) Dassault Systèmes does not accept or assume any liability or 
>> responsibility for any use of or reliance on this email.
>>
>> Please be informed that your personal data are processed according to our 
>> data privacy policy as described on our website. Should you have any 
>> questions related to personal data protection, please contact 3DS Data 
>> Protection Officer https://www.3ds.com/privacy-policy/contact/
>>
>> ___
>> users mailing list - users@lists.scilab.org<mailto:users@lists.scilab.org>
>> Click here to unsubscribe: 
>> <mailto:users-unsubscr...@lists.scilab.org<mailto:users-unsubscr...@lists.scilab.org>>
>> https://lists.scilab.org/mailman/listinfo/users
>
> ___
> users mailing list - users@lists.scilab.org<mailto:users@lists.scilab.org>
> Click here to unsubscribe: 
> <mailto:users-unsubscr...@lists.scilab.org<mailto:users-unsubscr...@lists.scilab.org>>
> https://lists.scilab.org/mailman/listinfo/users

--
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet

___
users mailing list - users@lists.scilab.org<mailto:users@lists.scilab.org>
Click here to unsubscribe: 
<mailto:users-unsubscr...@lists.scilab.org<mailto:users-unsubscr...@lists.scilab.org>>
https://lists.scilab.org/mailman/listinfo/users
This email and any attachments are intended solely for the use of the 
individual or entity to whom it is addressed and may be confidential and/or 
privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email 
and all attachments,

(iii) Dassault Systèmes does not accept or assume any liability or 
responsibility for any use of or reliance on this email.


Please be informed that your personal data are processed according to our data 
privacy policy as described on our website. Should you have any questions 
rela

[Scilab-users] Arrow on line from (x1, y1) to (x2, y2)

2023-03-06 Thread Samuel Enibe
I need to attach an arrow to a line pointing from (x1, y1) to (x2, y2).

How can this be done?

Your assistance will be greatly appreciated.

Samuel Enibe

This email and any attachments are intended solely for the use of the 
individual or entity to whom it is addressed and may be confidential and/or 
privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email 
and all attachments,

(iii) Dassault Systèmes does not accept or assume any liability or 
responsibility for any use of or reliance on this email.


Please be informed that your personal data are processed according to our data 
privacy policy as described on our website. Should you have any questions 
related to personal data protection, please contact 3DS Data Protection Officer 
https://www.3ds.com/privacy-policy/contact/

___
users mailing list - users@lists.scilab.org
Click here to unsubscribe: <mailto:users-unsubscr...@lists.scilab.org>
https://lists.scilab.org/mailman/listinfo/users


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

2022-11-26 Thread Samuel Enibe
Thanks Romain.
It worked perfectly.
I typed the command before starting SCILAB.

I suggest that SCILAB developers should find a way to incorporate this in
the next build of SCILAB.

Thank you very much.

God bless you.

Samuel Ogbonna Enibe
BEng (Nig), MSc (Reading, England), PhD (Nig)
Professor of Mechanical Engineering
Formerly Dean, Faculty of Engineering (01/08/2014 to 31/07/2016)
University of Nigeria, Nsukka, Nigeria
Tel: +2348063646798
Email: samuel.en...@unn.edu.ng
 enibe...@yahoo.com


On Mon, Nov 21, 2022 at 1:18 PM Pinede Romain  wrote:

> Hello,
>
> I had the same kind of problem but with different Scilab or Ubuntu
> versions ; have you tried to type this command before starting Scilab ?
>
>
>
> export _JAVA_OPTIONS="-Djogl.disable.openglcore"
>
> scilab &
>
>
>
> Sources :
>
> https://bugzilla.scilab.org/show_bug.cgi?id=16544
> https://bugzilla.scilab.org/show_bug.cgi?id=16635
>
>
>
>
>
> Regards,
>
>
>
> Romain Pinede
>
>
>
> *De :* users  *De la part de* Federico
> Miyara
> *Envoyé :* jeudi 17 novembre 2022 22:17
> *À :* users@lists.scilab.org
> *Objet :* Re: [Scilab-users] Problem with plotting on Ubuntu 22.04 LTS
>
>
>
>
> 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: <mailto:users-unsubscr...@lists.scilab.org>
> 
> http://lists.scilab.org/mailman/listinfo/users
>
>
>
>
> --
>
> [image: Image supprimée par l'expéditeur. Avast logo]
> <https://www.avast.com/antivirus>
>
> El software de antivirus Avast ha analizado este correo electrónico en
> busca de virus.
> www.avast.com <https://www.avast.com/antivirus>
>
>
>
> ___
> users mailing list - users@lists.scilab.org
> Click here to unsubscribe: <mailto:users-unsubscr...@lists.scilab.org>
> http://lists.scilab.org/mailman/listinfo/users
>
___
users mailing list - users@lists.scilab.org
Click here to unsubscribe: <mailto:users-unsubscr...@lists.scilab.org>
http://lists.scilab.org/mailman/listinfo/users


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

2022-11-16 Thread Samuel Enibe
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.

On Wed, 16 Nov 2022, 10:21 Jean-Yves Baudais, <
jean-yves.baud...@insa-rennes.fr> wrote:

> Le 16/11/2022 à 10:15, Samuel Enibe a écrit :
> > Thanks.
> > Which Ubuntu software should I download to solve the problem?
>
> Mmm... graphics card is not a software. Really, I don't know.
>
> --Jean-Yves
> ___
> users mailing list - users@lists.scilab.org
> Click here to unsubscribe: <mailto:users-unsubscr...@lists.scilab.org>
> http://lists.scilab.org/mailman/listinfo/users
>
___
users mailing list - users@lists.scilab.org
Click here to unsubscribe: <mailto:users-unsubscr...@lists.scilab.org>
http://lists.scilab.org/mailman/listinfo/users


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

2022-11-16 Thread Samuel Enibe
Thanks.
Which Ubuntu software should I download to solve the problem?

Samuel Ogbonna Enibe
BEng (Nig), MSc (Reading, England), PhD (Nig)
Professor of Mechanical Engineering
Formerly Dean, Faculty of Engineering (01/08/2014 to 31/07/2016)
University of Nigeria, Nsukka, Nigeria
Tel: +2348063646798
Email: samuel.en...@unn.edu.ng
 enibe...@yahoo.com


On Wed, Nov 16, 2022 at 8:04 AM Jean-Yves Baudais <
jean-yves.baud...@insa-rennes.fr> wrote:

> Hi,
>
> Le 15/11/2022 à 19:33, Samuel Enibe a écrit :
> > Recently I installed Ubuntu 22.04 LTS and included SCILAB 6.1.1
> > Unfortunately,  all the plotting functions I have tried only create a
> > graphic window, but no plots. The functions are plot, plot2d and bar.
>
> I got the same problem with Ubuntu 16.04, 18.04 and 22.04. It's not a
> Scilab problem but a graphics card, or pilote, problem. You should find
> the right graphics card with the right pilote. Not simple to solve if
> you cannot change the graphics card...
>
> --Jean-Yves
>
> ___
> users mailing list - users@lists.scilab.org
> Click here to unsubscribe: <mailto:users-unsubscr...@lists.scilab.org>
> http://lists.scilab.org/mailman/listinfo/users
>
___
users mailing list - users@lists.scilab.org
Click here to unsubscribe: <mailto:users-unsubscr...@lists.scilab.org>
http://lists.scilab.org/mailman/listinfo/users


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

2022-11-15 Thread Samuel Enibe
Recently I installed Ubuntu 22.04 LTS and included SCILAB 6.1.1
Unfortunately,  all the plotting functions I have tried only create a
graphic window, but no plots. The functions are plot, plot2d and bar.

I have tried SCILAB 6.1.1 both the one that came with Ubuntu distribution
and another downloaded separately. SCILAB 5.5.2 had the same problem.

All of these versions worked very well with Ubuntu 20.04 LTS which I used
on the same laptop before I removed it to install Ubuntu 22.04 LTS.

Is there a way to solve the problem?

Any assistance would be appreciated.

Samuel Enibe
___
users mailing list - users@lists.scilab.org
Click here to unsubscribe: <mailto:users-unsubscr...@lists.scilab.org>
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Plot Graphs on Different Axes

2021-07-28 Thread Samuel Enibe
Thank you very much for the quick response.

I have tried both options as shown in the sample file below (also attached).

Option 1 using legends works to some extent. However, the style markers are
not well indicated in the legend.

Option 2 with legend placed before and after the newaxes command shows only
the last legend entry.

Any assistance to render them more correctly will be greatly appreciated.

Samuel  Enibe

THE SCRIPTS IS AS FOLLOWS

ww1 = scf();//new plot windowx1 = 0:10:90;//x1 valuesy1 = [12.27 12.09
11.53 10.63 9.4 7.89 6.14 4.2 2.13 0];//y1 datax2 = 2:-0.5:-2;//x2
datay2 = [4.42 6.01 7.85 9.94 12.27 14.85 17.68 20.74 24.05];//y2
data//OPTION 1 USING legends keywordplot(x1, y1,"-");//first
plotxtitle("", "X1 Title", "Y1 Title");gca1 = gca();//get graphic
entitiesgca1.children.children.thickness = 3;//set line thikness 3
pixelsgca1.x_location = "bottom";//set x-location to
topgca1.y_location = "left";//set to rightbb = newaxes();//create new
axes for second plotbb.x_location = "top";//set x-location to
topbb.y_location = "right";//set to rightbb.filled = "off";plot(bb,
x2, y2, "--");//second plotxtitle("", "X2 Title", "Y2 Title")gca2 =
gca();//get graphic entitiesgca2.children.children.thickness = 3;//set
line thikness 3 pixelslegends(["Y1 vs X1";"Y2 vs X2"],[1,2],opt="ll");
ww2 = scf();//new plot windowplot(x1, y1,"-");//first plotxtitle("",
"X1 Title", "Y1 Title");gca1 = gca();//get graphic
entitiesgca1.children.children.thickness = 3;//set line thikness 3
pixelsgca1.x_location = "bottom";//set x-location to
topgca1.y_location = "left";//set to rightlegend(gca1,"Y1 vs X1");bb =
newaxes();//create new axes for second plotbb.x_location = "top";//set
x-location to topbb.y_location = "right";//set to rightbb.filled =
"off";plot(bb, x2, y2, "--");//second plotxtitle("", "X2 Title", "Y2
Title")gca2 = gca();//get graphic
entitiesgca2.children.children.thickness = 3;//set line thikness 3
pixelslegend(gca2,"Y2 vs X2","ll");


On Wed, Jul 28, 2021 at 10:16 AM CRETE Denis 
wrote:

> Hello,
>
> Try using legends([”A”;”B”],1:2) instead of legend([”A” ;”B”]).
>
> Alternatively, you may try legend(”A” ) before newaxes if called and
> legend(”B”) after.
>
> HTH
>
> Denis
>
>
>
> *De :* users  *De la part de* Samuel Enibe
> *Envoyé :* mercredi 28 juillet 2021 10:16
> *À :* Users mailing list for Scilab 
> *Objet :* Re: [Scilab-users] Plot Graphs on Different Axes
>
>
>
> How can I add legends to the graphics,  I tried something like legend
> (["A"; "B"])
>
>  Only the first entry is accepted while the second one is left out.
>
>
>
> On Wed, 28 Jul 2021, 09:05 Samuel Enibe,  wrote:
>
> Thank you very much Denis and Christopher. I have tried it with the
> newaxes command and filled = "off" and it worked.
>
>
>
> Thank you very much and God bless you.
>
>
>
>
>
> On Tue, 27 Jul 2021, 17:10 CRETE Denis, 
> wrote:
>
> Hello,
>
> I think this should work:
>
>
>
> scf();
> plot2d(x1',y1')
> a=newaxes();
> plot2d(x2',y2')
> a.x_location="top";
> a.y_location="right";
> a.filled="off";
>
>
>
> HTH
>
> Denis
>
>
>
> *De :* users  *De la part de* Samuel Enibe
> *Envoyé :* mardi 27 juillet 2021 17:17
> *À :* Users mailing list for Scilab 
> *Objet :* [Scilab-users] Plot Graphs on Different Axes
>
>
>
> I have the following sets of data:
>
> x1 = [0 10 20 30 40 50 60 70 80 90];
>
> y1 = [12.27   12.09   11.5310.639.4 7.896.144.2
> 2.13   0];
>
> x2 = [2   1.5 10.5 0-0.5-1-1.5-2];
>
> y2 = [4.42   6.01   7.85   9.94   12.27   14.85   17.67   20.74   24.05];
>
>
>
> I want to plot y1 with x1  (Graph 1) on Bottom x-axis and left y-axis and
> y2 with x2 (Graph 2) on Top x-axis and Right y-axis. The axes have
> different ranges of values as seen from the example data
>
>
>
> What is the simplest way of doing this?
>
>
>
> Samuel  Enibe
> University of Nigeria, Nsukka, Nigeria
>
> ___
> 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
>


example402b.sce
Description: application/scilab-sce
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Plot Graphs on Different Axes

2021-07-28 Thread Samuel Enibe
How can I add legends to the graphics,  I tried something like legend
(["A"; "B"])
 Only the first entry is accepted while the second one is left out.

On Wed, 28 Jul 2021, 09:05 Samuel Enibe,  wrote:

> Thank you very much Denis and Christopher. I have tried it with the
> newaxes command and filled = "off" and it worked.
>
> Thank you very much and God bless you.
>
>
> On Tue, 27 Jul 2021, 17:10 CRETE Denis, 
> wrote:
>
>> Hello,
>>
>> I think this should work:
>>
>>
>>
>> scf();
>> plot2d(x1',y1')
>> a=newaxes();
>> plot2d(x2',y2')
>> a.x_location="top";
>> a.y_location="right";
>> a.filled="off";
>>
>>
>>
>> HTH
>>
>> Denis
>>
>>
>>
>> *De :* users  *De la part de* Samuel
>> Enibe
>> *Envoyé :* mardi 27 juillet 2021 17:17
>> *À :* Users mailing list for Scilab 
>> *Objet :* [Scilab-users] Plot Graphs on Different Axes
>>
>>
>>
>> I have the following sets of data:
>>
>> x1 = [0 10 20 30 40 50 60 70 80 90];
>>
>> y1 = [12.27   12.09   11.5310.639.4 7.896.144.2
>> 2.13   0];
>>
>> x2 = [2   1.5 10.5 0-0.5-1-1.5-2];
>>
>> y2 = [4.42   6.01   7.85   9.94   12.27   14.85   17.67   20.74   24.05];
>>
>>
>>
>> I want to plot y1 with x1  (Graph 1) on Bottom x-axis and left y-axis and
>> y2 with x2 (Graph 2) on Top x-axis and Right y-axis. The axes have
>> different ranges of values as seen from the example data
>>
>>
>>
>> What is the simplest way of doing this?
>>
>>
>>
>> Samuel  Enibe
>> University of Nigeria, Nsukka, Nigeria
>> ___
>> 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] Plot Graphs on Different Axes

2021-07-28 Thread Samuel Enibe
Thank you very much Denis and Christopher. I have tried it with the newaxes
command and filled = "off" and it worked.

Thank you very much and God bless you.


On Tue, 27 Jul 2021, 17:10 CRETE Denis,  wrote:

> Hello,
>
> I think this should work:
>
>
>
> scf();
> plot2d(x1',y1')
> a=newaxes();
> plot2d(x2',y2')
> a.x_location="top";
> a.y_location="right";
> a.filled="off";
>
>
>
> HTH
>
> Denis
>
>
>
> *De :* users  *De la part de* Samuel Enibe
> *Envoyé :* mardi 27 juillet 2021 17:17
> *À :* Users mailing list for Scilab 
> *Objet :* [Scilab-users] Plot Graphs on Different Axes
>
>
>
> I have the following sets of data:
>
> x1 = [0 10 20 30 40 50 60 70 80 90];
>
> y1 = [12.27   12.09   11.5310.639.4 7.896.144.2
> 2.13   0];
>
> x2 = [2   1.5 10.5 0-0.5-1-1.5-2];
>
> y2 = [4.42   6.01   7.85   9.94   12.27   14.85   17.67   20.74   24.05];
>
>
>
> I want to plot y1 with x1  (Graph 1) on Bottom x-axis and left y-axis and
> y2 with x2 (Graph 2) on Top x-axis and Right y-axis. The axes have
> different ranges of values as seen from the example data
>
>
>
> What is the simplest way of doing this?
>
>
>
> Samuel  Enibe
> University of Nigeria, Nsukka, Nigeria
> ___
> 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] Plot Graphs on Different Axes

2021-07-27 Thread Samuel Enibe
I have the following sets of data:
x1 = [0 10 20 30 40 50 60 70 80 90];
y1 = [12.27   12.09   11.5310.639.4 7.896.144.2
2.13   0];
x2 = [2   1.5 10.5 0-0.5-1-1.5-2];
y2 = [4.42   6.01   7.85   9.94   12.27   14.85   17.67   20.74   24.05];

I want to plot y1 with x1  (Graph 1) on Bottom x-axis and left y-axis and
y2 with x2 (Graph 2) on Top x-axis and Right y-axis. The axes have
different ranges of values as seen from the example data

What is the simplest way of doing this?

Samuel  Enibe
University of Nigeria, Nsukka, Nigeria
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Scilab 6.1.1 release

2021-07-21 Thread Samuel Enibe
Thank you very much for the continued efforts in updating SCILAB. God bless
you richly

On Wed, 21 Jul 2021, 04:26 Federico Miyara, 
wrote:

>
> Thanks to all the developers for such a massive update!
>
> Regards,
>
> Federico Miyara
>
>
> On 20/07/2021 10:18, Clément David wrote:
>
> Dear Scilab users,
>
> We are pleased to announce the release of Scilab 6.1.1 as a joint effort 
> between Scilab contributors and the Scilab team at ESI Group.
>
> Scilab 6.1.1 is the first revision of the 6.1 development branch and is 
> compatible with the 6.1.0 release. It fixes 156 bugs and implements missing 
> features from the 6.1.0 version especially:
>
> * Improve readability on plot's title and displayed values
> * Fix crashes and slow behaviors on functions
> * Add missing arguments and behaviors to existing functions
> * Reword and add examples on many help pages
>
> For the complete list of changes and bugs fixed, please take a look at the 
> CHANGES file https://help.scilab.org/CHANGES
>
> Download this brand new version at https://www.scilab.org/download/6.1.1
>
> --
> Clément DAVID on behalf of the Scilab team.
> ___
> users mailing 
> listusers@lists.scilab.orghttp://lists.scilab.org/mailman/listinfo/users
>
>
>
>
> 
>  Libre
> de virus. www.avast.com
> 
> <#m_8887034601387787645_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> ___
> 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] genlib crashes in SCILAB 6.1.0 under UBUNTU 18.04

2020-09-01 Thread Samuel Enibe
I have been able to solve the problem. A particular function that was not
well formatted was detected and edited.

Thank you very much.

Samuel Enibe

On Mon, 31 Aug 2020, 18:33 Samuel Enibe,  wrote:

>
> I start SCILAB 6.1.0 under the UBUNTU 18.04 OPERATING SYSTEM from the
> console. This is because invoking it otherwise does not work.
>
> Each time I execute the SCILAB function genlib, the SCILAB crashes after
> generating the binaries for some of the user defined functions.   I will
> have to restart  the SCILAB again.to proceed. The problem does not occur
> when I execute the same genlib in the same way with SCILAB 5.5.2 under the
> same operating system.
>
> Any solution to this problem will be appreciated.
>
> Samuel Enibe
>
>
>
> On Mon, 31 Aug 2020, 17:23 Samuel Enibe,  wrote:
>
>> I start SCILAB 6.1.0 under the UBUNTU 18.04 OPERATING SYSTEM from the
>> console. This is because invoking it otherwise does not work.
>>
>> Each time I execute the SCILAB function genlib, the SCILAB crashes and I
>> will have to restart it again.
>>
>> Any solution to this problem will be appreciated.
>>
>> Samuel Enibe
>>
>>
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] genlib crashes in SCILAB 6.1.0 under UBUNTU 18.04

2020-08-31 Thread Samuel Enibe
I start SCILAB 6.1.0 under the UBUNTU 18.04 OPERATING SYSTEM from the
console. This is because invoking it otherwise does not work.

Each time I execute the SCILAB function genlib, the SCILAB crashes after
generating the binaries for some of the user defined functions.   I will
have to restart  the SCILAB again.to proceed. The problem does not occur
when I execute the same genlib in the same way with SCILAB 5.5.2 under the
same operating system.

Any solution to this problem will be appreciated.

Samuel Enibe



On Mon, 31 Aug 2020, 17:23 Samuel Enibe,  wrote:

> I start SCILAB 6.1.0 under the UBUNTU 18.04 OPERATING SYSTEM from the
> console. This is because invoking it otherwise does not work.
>
> Each time I execute the SCILAB function genlib, the SCILAB crashes and I
> will have to restart it again.
>
> Any solution to this problem will be appreciated.
>
> Samuel Enibe
>
>
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] genlib crashes in SCILAB 6.1.0 under UBUNTU 18.04

2020-08-31 Thread Samuel Enibe
I start SCILAB 6.1.0 under the UBUNTU 18.04 OPERATING SYSTEM from the
console. This is because invoking it otherwise does not work.

Each time I execute the SCILAB function genlib, the SCILAB crashes and I
will have to restart it again.

Any solution to this problem will be appreciated.

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


Re: [Scilab-users] Scilab 6.1.0 is available!

2020-02-25 Thread Samuel Enibe
This is good news indeed. We have been looking forward to this release.
Thanks to all of you working behind the scenes. God bless you.
Samuel Enibe

On Tue, 25 Feb 2020, 14:11 Clément David, 
wrote:

> Dear Scilab-ers,
>
>
>
> A brand new Scilab 6.1.0 <https://www.scilab.org/download/6.1.0> is
> released today!
>
>
>
> This version includes further improvement atop Scilab 6.0 for better
> stability and increased algorithm performance. It also includes a reworked
> display for more compact and meaningful value printing; web tools for HTTP,
> JSON support; better debug support and various algorithm rewrite/extension.
>
>
>
> This first iteration of the 6.1 branch fixes up to 245 bugs and implements
> missing features from the 6.0.2 version. We would like to give a special
> thanks to Samuel and Stephane who have been very active this year.
>
>
>
> If you find any critical issue or instability that might need a 6.1.x
> release please alert us <https://bugzilla.scilab.org/>. If you are a
> toolbox maintainer, please rebuild your code, upgrade it when needed and
> publish it to atoms.scilab.org.
>
>
>
> For the complete list of changes and bugs fixed, please take a look at the
> CHANGES <https://help.scilab.org/CHANGES>  file.
>
>
>
> --
>
> Clément on behalf of the Scilab team
> ___
> 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] ?==?utf-8?q? SCILAB 6.0.2 Not running on UBUNTU 18.04 LTS

2019-12-24 Thread Samuel Enibe
Thanks Antoine.
I didn't change the default settings on UBUNTU 18.04 LTS.

I have checked again and seen that SCILAB 6.0.1 works but doesn't support
ATOMS.

The 6.0.2 was downloaded,  the files extracted and placed in the default
folder just as I did for 6.0.1. Should it be extracted using a special
command?

Samuel

On Tue, 24 Dec 2019, 13:39 Antoine Monmayrant,  wrote:

> Hello Samuel,
>
> I am running 6.0.2 under ubuntu 64bits and I don't remember having this
> issue.
> Is your ubuntu install a vanilla one or did you change some  default
> settings regarding java?
>
> We can try to compare our settings if this can help.
>
> Antoine
>
>
> Le Mardi, Décembre 24, 2019 13:13 CET, Samuel Enibe <
> samuel.en...@unn.edu.ng> a écrit:
>
> > I have been using SCILAB for several years now on UBUNTU and decided to
> try
> > the latest version today.
> >
> > Thus, I  downloaded the 64 bit version of  SCILAB 6.0.2 for LINUX and
> tried
> > to run on UBUNTU 18.04 LTS.
> >
> > It produces the following error
> >
> > scilab-bin: error while loading shared libraries: libjava.so: cannot open
> > shared object file: No such file or directory
> >
> > Is this a bug? I had the same experience with version 6.0.1
> >
> > Any suggestions on the way out?
> >
> > Samuel Ogbonna Enibe
> > University of Nigeria, Nsukka, Nigeria
>
> ___
> 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] SCILAB 6.0.2 Not running on UBUNTU 18.04 LTS

2019-12-24 Thread Samuel Enibe
I have been using SCILAB for several years now on UBUNTU and decided to try
the latest version today.

Thus, I  downloaded the 64 bit version of  SCILAB 6.0.2 for LINUX and tried
to run on UBUNTU 18.04 LTS.

It produces the following error

scilab-bin: error while loading shared libraries: libjava.so: cannot open
shared object file: No such file or directory

Is this a bug? I had the same experience with version 6.0.1

Any suggestions on the way out?

Samuel Ogbonna Enibe
University of Nigeria, Nsukka, Nigeria
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] SCILAB Equivalent of addpath function

2019-05-30 Thread Samuel Enibe
Thank you very much for your kind assistance.

God bless you.

Samuel Ogbonna Enibe


On Thu, May 30, 2019 at 12:57 PM Samuel Gougeon  wrote:

> Le 30/05/2019 à 13:42, Samuel Enibe a écrit :
> > Thank you very much, Samuel.
> >
> > I am using version 5.5.2 on Ubuntu 18.04.
> >
> > Could you please let me know how to locate the the scilab.ini and the
> > startup files?
>
> On Linux, you may create and fill the .scilab file in your SCIHOME
> directory:
> help startup => https://help.scilab.org/docs/current/en_US/startup.html
>
> ___
> 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 Equivalent of addpath function

2019-05-30 Thread Samuel Enibe
Thank you very much, Samuel.

I am using version 5.5.2 on Ubuntu 18.04.

Could you please let me know how to locate the the scilab.ini and the
startup files?

Thank you very much.

God bless you.

Samuel Ogbonna Enibe


On Thu, May 30, 2019 at 11:18 AM Samuel Gougeon  wrote:

> Le 30/05/2019 à 11:19, Samuel Enibe a écrit :
>
> Thank you very much for your quick response.
>
> In using SCILAB, I create a folder for a given class of problems. The
> user-defined functions for the problem class are stored in the  folder. I
> use the SCILAB function *genlib to* create a functions library for the
> user-defined functions in the folder..
>
> On startup of SCILAB, I would have to run *genlib* again or* lib* to make
> those user-defined  functions available for use.
>
> Is there a way of telling SCILAB to search a given folder or folders for
> user-defined functions? In this way, I would not have to run* lib *or
> *genlib* during each SCILAB session.
>
>
> Why don't you load your custom libraries within your scilab.ini or .scilab
> startup file? load() can be used (more safely than lib()) to do so.
>
> However, this way won't prevent them from being cleared by the first
> "clear" (all) statement in the console (but this is the same for ATOMS
> modules loaded during the session).
>
> To answer your question: As far as i know, no, there is presently no
> native mechanism looking for libraries in a series of paths, to load on the
> fly, or looking for a series of function definitions.sci to execute on the
> fly.
>
> But it can be tentatively implemented by using the %onprompt
> <https://help.scilab.org/docs/current/en_US/percentonprompt.html>
> mechanism. "--> uman %onpromt @
> <http://mailinglists.scilab.org/path-tp3416444p3417057.html>" will tell
> you more about it.
>
> Best 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


Re: [Scilab-users] SCILAB Equivalent of addpath function

2019-05-30 Thread Samuel Enibe
Thank you very much for your quick response.

In using SCILAB, I create a folder for a given class of problems. The
user-defined functions for the problem class are stored in the  folder. I
use the SCILAB function *genlib to* create a functions library for the
user-defined functions in the folder..

On startup of SCILAB, I would have to run *genlib* again or* lib* to make
those user-defined  functions available for use.

Is there a way of telling SCILAB to search a given folder or folders for
user-defined functions? In this way, I would not have to run* lib *or
*genlib* during each SCILAB session.

Thank you very much.

God bless you.

Samuel Ogbonna Enibe


On Wed, May 29, 2019 at 7:20 PM Samuel Gougeon  wrote:

> Hello,
>
> Le 29/05/2019 à 12:25, Samuel Enibe a écrit :
> > In MATLAB,  the function addpath enables a user to add any desired
> > path the MATLAB directories.
> >
> > Is there an equivalent ìn SCILAB?
>
> I am not sure to understand the question.
> Since the execution mechanism of a script is different in both
> languages, Scilab does not need any list of paths to be scanned to find
> the file of the script to be run.
> As you know, in Scilab, to execute a script.sci, its relative or
> absolute path must be provided. It's mandatory.
>
> 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


[Scilab-users] SCILAB Equivalent of addpath function

2019-05-29 Thread Samuel Enibe
In MATLAB,  the function addpath enables a user to add any desired path the
MATLAB directories.

Is there an equivalent ìn SCILAB?
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] Finite Element Analysis

2019-05-08 Thread Samuel Enibe
May I request to know if there are specific tools in SCILAB for finite
element analysis.

Thank you very much.

God bless you.

Samuel  Enibe
University of Nigeria, Nsukka, Nigeria
Tel: +2348063646798
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Scilab 5.5.2 on Ubuntu 18.04LTS

2019-02-15 Thread Samuel Enibe
Thank you very much, Stephanie, for the suggestion. I have tried it and it
worked very well.
God bless you richly.

Samuel Ogbonna Enibe
University of Nigeria, Nsukka, Nigeria


On Thu, Feb 14, 2019 at 6:37 PM Stéphane Mottelet 
wrote:

> Hello Samuel,
>
> Le 13/02/2019 à 11:00, Samuel Enibe a écrit :
>
> Dear SCILAB users,
>
> How do I make make SCILAB 5.5.2 to work on Ubuntu 18.04 LTS?
>
> I have downloaded the 64 bit binary version for Linux, unpacked it
>
> you just have to remove the bundled libz :
>
> rm scilab-5.5.2/lib/thirdparty/libz*
>
> scilab should start then
>
> S.
>
> and called it using the recommended command
>  ./bin/scilab
>
> The error I get is this
>
> Segmentation fault (core dumped)
>
> I tried the 32 bit binary version for Linux and get a different error
> message, namely
>
> scilab-bin: error while loading shared libraries: libjava.so: cannot open
> shared object file: No such file or directory
>
>
> The latest SCILAB 6.0.1 version works to some extent, but the ATOMS
> packages do not work on it yet.
>
> Any solutions would be appreciated.
>
> God bless you.
> Samuel Ogbonna Enibe
> University of Nigeria, Nsukka, Nigeria
>
>
> ___
> users mailing 
> listusers@lists.scilab.orghttps://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users
>
>
> --
> Stéphane Mottelet
> Ingénieur de recherche
> EA 4297 Transformations Intégrées de la Matière Renouvelable
> Département Génie des Procédés Industriels
> Sorbonne Universités - Université de Technologie de Compiègne
> CS 60319, 60203 Compiègne cedex
> Tel : +33(0)344234688http://www.utc.fr/~mottelet
>
> ___
> 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] Scilab 5.5.2 on Ubuntu 18.04LTS

2019-02-13 Thread Samuel Enibe
Dear SCILAB users,

How do I make make SCILAB 5.5.2 to work on Ubuntu 18.04 LTS?

I have downloaded the 64 bit binary version for Linux, unpacked it and
called it using the recommended command
 ./bin/scilab

The error I get is this

Segmentation fault (core dumped)

I tried the 32 bit binary version for Linux and get a different error
message, namely

scilab-bin: error while loading shared libraries: libjava.so: cannot open
shared object file: No such file or directory


The latest SCILAB 6.0.1 version works to some extent, but the ATOMS
packages do not work on it yet.

Any solutions would be appreciated.

God bless you.
Samuel Ogbonna Enibe
University of Nigeria, Nsukka, Nigeria
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] How to Install SCILAB 5.5.2 on Ubuntu 18.04

2018-10-26 Thread Samuel Enibe
Thanks for the suggestions. I am very grateful.
God bless you.
Samuel Enibe

On 25 Oct 2018 13:20, "philippe"  wrote:

> Hi,
>
> Le 18/10/2018 à 13:23, Samuel Enibe a écrit :
> > I have installed SCILAB 6.0.1 on Ubuntu 18.04 but it is experiencing so
> > many problems. One of these is the inability to Install modules from
> ATOMS.
>
> Each time there is a major upgrade the first versions scilab-*.0.* have
> always been bugged and waited toolboxes upgrade for a long time. It's
> probably normal for a major upgrade and we have to wait for scilab-6.1.0
> release to get something more stable.
>
> >
> > To circumvent this problem, I downloaded the binary version of 5.5.2 and
> > installed it using the instructions on SCILAB wiki. Unfortunately, the
> > installation does not work at all.
>
> On the contrary to other major upgrades that's the first time I face the
> impossibility to downgrade to older version of scilab. It's a big
> problem for me too.
> >
> > Is there another way of doing the installation of 5.5.2?
>
> the only way I found is to install the windows binaries on linux with wine
> :
>
> wine scilab-5.5.2_x64.exe
>
> and then launch scilab with the command line :
>
> wine ~/.wine/drive_c/Program Files/scilab-5.5.2/bin/WScilex.exe
>
> It looks to work until you don't need to increase stacksize.
>
> Best regards,
>
> Philippe
>
> ___
> 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] How to Install SCILAB 5.5.2 on Ubuntu 18.04

2018-10-18 Thread Samuel Enibe
I have installed SCILAB 6.0.1 on Ubuntu 18.04 but it is experiencing so
many problems. One of these is the inability to Install modules from ATOMS.

To circumvent this problem, I downloaded the binary version of 5.5.2 and
installed it using the instructions on SCILAB wiki. Unfortunately, the
installation does not work at all.

Is there another way of doing the installation of 5.5.2?

Thank you very much.

God bless you.

Samuel Enibe
University of Nigeria Nsukka
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Unable to update ATOMS packages - Scilab 6.0.1

2018-10-11 Thread Samuel Enibe
I have a similar problem with SCILAB on Ubuntu 1804.

A solution to this problem from the developers of SCILAB or the Ubuntu
maintainers will be most appreciated.

Samuel Ogbonna Enibe
University of Nigeria, Nsukka, Nigeria


On Wed, Oct 10, 2018 at 10:37 PM Pndsc  wrote:

> So to update my own inquiry - as far as I can make out theres no solution
> to
> this problem. Or at least, I havent been able to fix it.
>
> I'm not the only person with this problem - theres an  Ubuntu stackexchange
> thread with a suggested fix here
> <
> https://askubuntu.com/questions/1029163/how-to-get-scilab-6-0-1-working-on-ubuntu-18-04-lts/1029164>
>
> by N0rbert which might prove useful for other people with issues of simply
> getting Scilab to work, but does not solve my issue of ATOMS not updating
> or
> displaying an up to date package list.
>
> The HDF5 thing is a known issue and is on the bugtracker here thanks to
> N0rbert:
>
> https://bugs.launchpad.net/ubuntu/+source/scilab/+bug/1765503
>
> I have to admit I have a hard time with believing that this issue has been
> allowed to persist for so long with the current most widespread linux
> distribution out there.
>
> Running an atomsInstall command doesnt work either:
>
> --> atomsInstall("coselica")
> Scanning repository http://atoms.scilab.org/6.0 ... Done
>
> at line   265 of function atomsDESCRIPTIONget (
>
> /usr/share/scilab/modules/atoms/macros/atoms_internals/atomsDESCRIPTIONget.sci
> line 284 )
> at line31 of function atomsIsPackage  (
> /usr/share/scilab/modules/atoms/macros/atoms_internals/atomsIsPackage.sci
> line 47 )
> at line69 of function atomsInstallList(
> /usr/share/scilab/modules/atoms/macros/atoms_internals/atomsInstallList.sci
> line 108 )
> at line   233 of function atomsInstall(
> /usr/share/scilab/modules/atoms/macros/atomsInstall.sci line 249 )
>
> atomsDESCRIPTIONget: save
> ('/home/chris/.Scilab/scilab-6.0.1/.atoms/packages') has failed.
>
> I dont know if its significant or not, but in
> /usr/share/scilab/modules/atoms/etc/ , in the "repositories" text file, the
> url for the atoms repository for 6.0 (https://atoms.scilab.org/6.0/)
> returns
> a 443 forbidden error.
>
> Its late here but the next thing on my list to do tomorrow is to download
> the package zips manually and installing via atomsInstall('pathtozip').
>
>
>
> --
> 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
>
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] SCILAB NOT WORKING IN UBUNTU 18.04

2018-06-22 Thread Samuel Enibe
Dear Ekin,

Thanks for the help. I downloaded the binary tar file from the SCILAB
website, placed it in a directory, and applied the following commands:

tar xzvf scilab-6.0.1.bin.linux-x86_64.tar.gz
cd scilab-6.0.1
bin/scilabOR ./bin/scilab

and it worked. However, I can only run it from the installation directory.

HOW SHOULD I MAKE IT GLOBALLY VISIBLE SO THAT I CAN RUN IT FROM ANY
DIRECTORY?




Samuel  Enibe


On Fri, Jun 22, 2018 at 2:29 PM, Ekin Akoglu  wrote:

> Dear Samuel,
>
> Please see this: https://askubuntu.com/questions/1029163/how-to-get-
> scilab-6-0-1-working-on-ubuntu-18-04-lts
>
> There you can find the solution.
>
> Best regards,
>
> Ekin
>
> On 22/06/18 17:24, Samuel Enibe wrote:
>
> I have just installed SCILAB 6.01 in UBUNTU 18.04 using the SYNPATIC
> package manager.
>
> Unfortunately, it is note working, but gives the following error:
>
> /usr/bin/scilab-bin: error while loading shared libraries: libjava.so:
> cannot open shared object file: No such file or directory
>
>
> How can I rectify the problem?
>
> In the alternative, how can I install SCILAB 6.01 or any previous version
> into UBUNTU manually?
>
> Thank you very much for assisting.
>
> Samuel  Enibe
> University of Nigeria, Nsukka, Nigeria
>
>
>
> ___
> 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


[Scilab-users] SCILAB NOT WORKING IN UBUNTU 18.04

2018-06-22 Thread Samuel Enibe
I have just installed SCILAB 6.01 in UBUNTU 18.04 using the SYNPATIC
package manager.

Unfortunately, it is note working, but gives the following error:

/usr/bin/scilab-bin: error while loading shared libraries: libjava.so:
cannot open shared object file: No such file or directory


How can I rectify the problem?

In the alternative, how can I install SCILAB 6.01 or any previous version
into UBUNTU manually?

Thank you very much for assisting.

Samuel  Enibe
University of Nigeria, Nsukka, Nigeria
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] Function to read Excel xlsx file into SCILAB

2018-03-13 Thread Samuel Enibe
Dear SCILAB users,

is there a direct function available in SCILAB to read an Excel .xlsx file
(Excel 2007 or later) into SCILAB.

I know I could open it in Excel and use the SaveAs menu to first convert it
to .xls file, but a direct SCILAB function would be faster when handling
many files.

Thank you very much.

God bless you.

Samuel  Enibe
University of Nigeria, Nsukka, Nigeria
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] Analysis of Variance (ANOVA) with SCILAB

2017-05-04 Thread Samuel Enibe
Could you please let me know if there is any function or toolbox in
SCILAB which can be used for the ANALYSIS OF VARIANCE (ANOVA).

Thank you very much.
God bless you.

-- 
Samuel Ogbonna Enibe
University of Nigeria, Nsukka, Nigeria
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] Test Statistics in Regression Equations

2017-03-21 Thread Samuel Enibe
I use the SCILAB linregr function for regression analysis.

Is there any inbuilt output for the following statistical tests:
1. MEAN BIAS ERROR (MBE)
2. MEAN ABSOLUTE PERCENTAGE ERROR (MAPE)
3. ROOT MEAN SQUARE ERROR (RMSE)
4. t-STATISTIC

Thank you very much.

God bless you.
-- 
Samuel Enibe
University of Nigeria, Nsukka, Nigeria
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Error message

2015-10-31 Thread Samuel Enibe
The linregr function is defined in an external module. Once you load the
module, the function will be defined, and it should run.

Samuel Ogbonna Enibe
University of Nigeria, Nsukka, Nigeria

On Sat, Oct 31, 2015 at 2:06 PM, Edmund Okoroigwe <
edmund.okoroi...@unn.edu.ng> wrote:

> Hi all,
> I have a Scilab code I have run successfully previously. [b1,start] =
> linregr ( [ a1 T1], "a1 T1", "1 T1", "a1");
> Now I want to run it again in the same file and folder but I keep on
> receiving error message
> 'Undefined variable: linregr'.
> Please remind me how to overcome this so that my script will run.
> Thanks
>
> ___
> 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] Fwd: End of line and tab characters in SCILAB

2015-09-10 Thread Samuel Enibe
Dear sir,

Could you please let me know the command to detect white spaces such
as end of line and tab characters in SCILAB. I tried the "\n" and "\t"
respectively but they did not work.

Thank you very much.

God bless you.

-- 
Samuel Ogbonna Enibe
BEng (Nig), MSc (Reading, England), PhD (Nig)
Professor of Mechanical Engineering
Dean, Faculty of Engineering
University of Nigeria, Nsukka, Nigeria
Tel: +2348063646798
Email: samuel.en...@unn.edu.ng
 enibe...@yahoo.com



-- 
Samuel Ogbonna Enibe
BEng (Nig), MSc (Reading, England), PhD (Nig)
Professor of Mechanical Engineering
Dean, Faculty of Engineering
University of Nigeria, Nsukka, Nigeria
Tel: +2348063646798
Email: samuel.en...@unn.edu.ng
 enibe...@yahoo.com
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Fwd: End of line and tab characters in SCILAB

2015-09-10 Thread Samuel Enibe
Thank you very much. The string was generated from Excel 2003 files.
Some cells contained blank spaces which when processed for use in a
LaTeX document or csv file, the blank lines cause errors and had to be
removed manually.

I tried using the expression

datax = strsubst(datax, "\n", " ");//replace EndOfLine with " " everywhere

to replace the EndOfLine characters with ordinary spaced but this did
not produce the desired results.


-- 
Samuel Ogbonna Enibe
University of Nigeria, Nsukka, Nigeria

On 9/10/15, Samuel Gougeon <sgoug...@free.fr> wrote:
> Hello,
>
> If you are processing strings with only ASCII characters -- with no
> UTF-8 extensions --, you may use ascii() and then test the presence of
> ascii(10) for "\n" or ascii(9) for "\t".
> But the most efficient way is to use a regular expression. In a regexp,
> EndOfLine is represented with $. As far as i know, it represents  either
> "\n" or "\r" or both. tab is "\t", or any white separator is "\s" (for "
> ","\t", "\n" or "\r").
>
> May you post your test with "\n" or "\t", with the way you get/generate
> the string in which you want to detect white spaces? It would help
> answering to you for your application.
> Regards
> Samuel Gougeon
>
> Le 10/09/2015 16:39, Samuel Enibe a écrit :
>> Dear sir,
>>
>> Could you please let me know the command to detect white spaces such
>> as end of line and tab characters in SCILAB. I tried the "\n" and "\t"
>> respectively but they did not work.
>>
>> Thank you very much.
>>
>> God bless you.
>>
>
> ___
> 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] Saved Seril Numbers of Variables in Results from Grocer Function automatic

2014-07-30 Thread samuel . enibe
Dear sir,
I have applied the automatic function in Grocer package to handle the linear 
regression of two time seris Y and X, where they have dimensions(n,1) and (n, 
m) respectively. The output may contain p significant variables, where p  m. 
Is there an output variable that stores the serial numbers or names of the p 
variables in the final model?

The serial numbers of the p variables are printed on screen, but I will like to 
use them in another part of the program without having to copy them manually.

Samuel Enibe

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


Re: [Scilab-users] Test statistics with linregr function

2014-07-25 Thread Samuel Enibe
Dear Eric,

Thank you very much for the detailed explanations.

I am very grateful.

God bless you.

Samuel Ogbonna Enibe

On Fri, Jul 25, 2014 at 9:08 AM, Eric Dubois grocer.tool...@gmail.com
wrote:

 Hello Samuel.

 For the standard errors of the coefficients, they can be derived from the
 results fo the regression.

 You have to store these resulst in atlist, say myres as follows:
 -- myres=ols([your input])

 and then
 -- stderr=myres('beta') ./ myres('tstat')

 For the Z statistics, could you precise what you mean by that? (if ypu
 mean the Student statistics, then they are already displayed on screen in
 the colum t-statistics adn can be recovered as myres('tstat')

 As for confidence intervals, it is a little bit more tedious but also
 feasible:
 -- scale=cdft(T,myres('nobs')-myres('nvar'),0.025,0.975); // from the
 Student distribution takes the value acheiving the 0.05/2 lowest part of
 tyhe distribution
 -- conf=[myres('beta')+scale*stderr , myres('beta')-scale*stderr]
 // build the 0.95 confidence interval from the coefficients and their
 standard error ; note: instead of sclae you could use the -asymptotic-
 value of 1.96

 I will add these fetaures in a future Grocer version/.

 Éric.

 2014-07-24 23:56 GMT+02:00 Samuel Enibe samuel.en...@unn.edu.ng:

 Thanks once more.
 I have been able to use the *ols* function, but there are still a few
 grey areas. It is not clear to me which of the output parameters to use in
 determining the following parameters of each regression coefficien, namely

 *Standard  error,*


 *Z, *



 *95% confidence Interval *

 I will appreciate any further insights.

 Samuel Ogbonna Enibe


  On Thu, Jul 24, 2014 at 9:42 PM, Eric Dubois grocer.tool...@gmail.com
 wrote:

 Hello Samuel.

 The equivalent of function linreg in Grocer is function ols (much
 simpler I hope than automatic). If you still have problems with ols, what
 are they?

 Éric.


 2014-07-24 17:35 GMT+02:00 Samuel Enibe samuel.en...@unn.edu.ng:

 Dear sir,

 I am using the *linregr* multiple regression  function to analyse some
 field data. I have obtained the multiple regression coefficients *b*
 built into the *stat* output variable. For each coefficient *b(i)*, I
 need to determine the standard error, Z-score, P-value and  95% confidence
 interval.

 How can I do this with *linregr* or any other suitable SCILAB
 function. I have found it a bit difficult using the *automatic* and
 similar functions built into the  *Grocer*  toolbox of Eric DuBois
 which could have been a way out.

 I will appreciate any help.

 Samuel Ogbonna Enibe

 enibe...@yahoo.com

 ___
 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



 ___
 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] Test statistics with linregr function

2014-07-24 Thread Samuel Enibe
You are right, Eric.
The *ols* function is much simpler, and I have been able to use it.
God bless you.

Samuel Ogbonna Enibe
BEng (Nig), MSc (Reading, England), PhD (Nig)
Professor of Mechanical Engineering
Director, National Centre for Equipment  Maintenance  Development,
01/08/2008 to 18/08/2011
University of Nigeria, Nsukka, Nigeria
Tel: +2348063646798
Email: samuel.en...@unn.edu.ng
 enibe...@yahoo.com


On Thu, Jul 24, 2014 at 9:42 PM, Eric Dubois grocer.tool...@gmail.com
wrote:

 Hello Samuel.

 The equivalent of function linreg in Grocer is function ols (much simpler
 I hope than automatic). If you still have problems with ols, what are they?

 Éric.


 2014-07-24 17:35 GMT+02:00 Samuel Enibe samuel.en...@unn.edu.ng:

 Dear sir,

 I am using the *linregr* multiple regression  function to analyse some
 field data. I have obtained the multiple regression coefficients *b*
 built into the *stat* output variable. For each coefficient *b(i)*, I
 need to determine the standard error, Z-score, P-value and  95% confidence
 interval.

 How can I do this with *linregr* or any other suitable SCILAB function.
 I have found it a bit difficult using the *automatic* and similar
 functions built into the  *Grocer*  toolbox of Eric DuBois which could
 have been a way out.

 I will appreciate any help.

 Samuel Ogbonna Enibe

 enibe...@yahoo.com

 ___
 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] Plotting time (hours) in scilab

2014-06-05 Thread Samuel Enibe
The solution by Stefan is adequate to my understanding.

Samuel Enibe


On Thu, Jun 5, 2014 at 10:29 AM, Edmund Okoroigwe 
edmund.okoroi...@unn.edu.ng wrote:

 I want to plot time  (8:00,9:00,10:00,11:00, 12:00, 13:00,14:00) as
 x-axis. How can I achieve this. The data is saved in excel file.
 Thanks

 Edmund




 ___
 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] Improperly written xtitle using subplot with 4 figures

2014-05-01 Thread samuel . enibe
I have used subplot to place a series of 4 graphs in one window. In each case, 
the xtitle on the last 2 figures are invisible.
How can I correct this.
Samuel Enibe

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


Re: [Scilab-users] Numerical Differentiation

2014-03-24 Thread samuel . enibe
Thank you very much, Omorjan.
It worked very well.
God bless you.
Enibe
-Original Message-
From: Radovan Omorjan
Sent:  2014/03/22, 20:46 
To: International users mailing list for Scilab.
Subject: Re: [Scilab-users] Numerical Differentiation



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


[Scilab-users] Numerical Differentiation

2014-03-22 Thread Samuel Enibe
I would like to use the functions *derivative* or *numdiff* to numerically
differentiate a tabulated data such as

x = [0 2 5 20 40 60 80]';//time in minutes
y = [0.0956820 0.0480457 0.0277857 0.0036214 0.0002543 0.0002543
0.0001265]';//values of y

May I know the best way to determine dy/dx for the data set.

Thank you very much and God bless you

Samuel Ogbonna Enibe
University of Nigeria, Nsukka, Nigeria
Tel: +2348063646798
Email: samuel.en...@unn.edu.ng
 enibe...@yahoo.com
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] Vectorial form of fprintf Function

2013-03-04 Thread Samuel Enibe
Dear Sir,

I would like to print a given column in a matrix with a specific number of
decimal places. The *format* function does not give  the same number of
decimal places for columns containing data of varying length. On the other
hand, *fprintf* and the like appear suitable for single float at a time. Is
there a version of *fprintf* and co that can be used directly for a matrix?

-- 
Samuel Ogbonna Enibe
University of Nigeria, Nsukka, Nigeria
Tel: +2348063646798
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Plots on second Y axis

2013-02-23 Thread Samuel Enibe
Thanks, Spougeon.
This has partly solved the problem. Suppose I have two plots on the same
graph, one is to use the left Y-axis, while the second is to use the right
Y-axis. How should I handle it with gca() or any other command?

Samuel Ogbonna Enibe
University of Nigeria, Nsukka, Nigeria


On Fri, Feb 8, 2013 at 8:14 AM, sgoug...@free.fr wrote:

 Hello,

 according to your needs, you may do either:

 plot2d()
 ax = gca();
 ax.y_location = 'right';

 or

 demo_gui() // then Graphics = 2D  3D = plotyy | plotyyy
 // and look at the code, using
 help newaxes // http://help.scilab.org/docs/5.4.0/en_US/newaxes.html

 Regards
 Samuel
 ___
 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] How to start with several variables in AUTOMATIC function of GROCER

2013-02-19 Thread Samuel Enibe
Dear sir,

I would like to employ the AUTOMATIC function in GROCER toolbox to perform
automatic regression starting with a rather LARGE set of variables and
ending with the few that are most significant. However, I have noticed the
following problems using the example attached:

1. Programme works with only 3 initial variables specified (see line 30 in
attached file), which works, but line 31 with only 6 starting variables
complains of TOO MANY EXOGENOUS VARIABLES
2. When it runs with 3 starting variables, the R2 value is not specified.
How can I get this calculated and used.
3. The help files included with the AUTOMATIC package does not seem to
answer these questions.

ANY ASSISTANCE WILL BE GREATLY APPRECIATED


-- 
Samuel Ogbonna Enibe
BEng (Nig), MSc (Reading, England), PhD (Nig)
Professor of Mechanical Engineering
Director, National Centre for Equipment  Maintenance  Development
University of Nigeria, Nsukka, Nigeria
Tel: +2348063646798
Email: samuel.en...@unn.edu.ng
 enibe...@yahoo.com


analysis-automatic.sce
Description: Binary data
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] Plots on second Y axis

2013-02-08 Thread Samuel Enibe
Dear Sir,

Could you please let me know the SCILAB command to use in making a plot on
the SECOND (right) Y axis.

Thank you very much.

-- 
Samuel Ogbonna Enibe
University of Nigeria, Nsukka, Nigeria
Tel: +2348063646798
Email: samuel.en...@unn.edu.ng
 enibe...@yahoo.com
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users