From iwoj at il.pw.edu.pl Fri Jul 5 18:03:44 2019 From: iwoj at il.pw.edu.pl (=?UTF-8?Q?Izabela_W=C3=B3jcik-Grz=C4=85ba?=) Date: Fri, 05 Jul 2019 18:03:44 +0200 Subject: [Scilab-users] Finding elements occuring once in a matrix Message-ID: <91b67216bddf99f6083c3cf4d88d85a8@il.pw.edu.pl> Hello, Is there a simple way of finding elements of matrix which occurs only once. For example in this matrix it would be 3 and 4: [1 1 3 2 1 1 4 5 5] For the time being I couldn't find any smart idea for that. Could you help? Kind regards, Iza From stephane.mottelet at utc.fr Fri Jul 5 18:24:08 2019 From: stephane.mottelet at utc.fr (=?UTF-8?Q?St=c3=a9phane_Mottelet?=) Date: Fri, 5 Jul 2019 18:24:08 +0200 Subject: [Scilab-users] Finding elements occuring once in a matrix In-Reply-To: <91b67216bddf99f6083c3cf4d88d85a8@il.pw.edu.pl> References: <91b67216bddf99f6083c3cf4d88d85a8@il.pw.edu.pl> Message-ID: <6a6a7484-a8a4-d1da-2a7e-bc5807e320b2@utc.fr> Hello, Maybe not optimal, but does the job: x = [1 1 3 2 1 1 4 5 5]; f = []; for y=unique(x(:))' ? if length(find(x==y)) == 1 ?? f = [f y]; ? end end --> f ?f? = ?? 2.?? 3.?? 4. S. Le 05/07/2019 ? 18:03, Izabela W?jcik-Grz?ba a ?crit?: > Hello, > > Is there a simple way of finding elements of matrix which occurs only > once. For example in this matrix it would be 3 and 4: > [1 1 3 > 2 1 1 > 4 5 5] > > For the time being I couldn't find any smart idea for that. Could you > help? > > Kind regards, > Iza > _______________________________________________ > users mailing list > users at lists.scilab.org > https://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)344234688 http://www.utc.fr/~mottelet From jrafaelbguerra at hotmail.com Fri Jul 5 20:23:33 2019 From: jrafaelbguerra at hotmail.com (Rafael Guerra) Date: Fri, 5 Jul 2019 18:23:33 +0000 Subject: [Scilab-users] Finding elements occurring once in a matrix Message-ID: Try the following, without loops, inspired by a solution by B. Mohandes : --> x = [1.1 1.1 3.2; 2.3 1.1 1.1; 4.7 5.2 5.2] x = 1.1 1.1 3.2 2.3 1.1 1.1 4.7 5.2 5.2 --> y = unique(x); y0 = [min(y)-1; y]; y(find(histc(y0,x(:),%F)==1)) ans = 2.3 3.2 4.7 Regards, Rafael -----Original Message----- From: users On Behalf Of St?phane Mottelet Sent: Friday, July 5, 2019 7:24 PM To: users at lists.scilab.org Subject: Re: [Scilab-users] Finding elements occuring once in a matrix Hello, Maybe not optimal, but does the job: x = [1 1 3 2 1 1 4 5 5]; f = []; for y=unique(x(:))' ? if length(find(x==y)) == 1 ?? f = [f y]; ? end end --> f ?f? = ?? 2.?? 3.?? 4. S. Le 05/07/2019 ? 18:03, Izabela W?jcik-Grz?ba a ?crit?: > Hello, > > Is there a simple way of finding elements of matrix which occurs only > once. For example in this matrix it would be 3 and 4: > [1 1 3 > 2 1 1 > 4 5 5] > > For the time being I couldn't find any smart idea for that. Could you > help? > > Kind regards, > Iza -- 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 From iwoj at il.pw.edu.pl Fri Jul 5 21:01:06 2019 From: iwoj at il.pw.edu.pl (=?UTF-8?Q?Izabela_W=C3=B3jcik-Grz=C4=85ba?=) Date: Fri, 05 Jul 2019 21:01:06 +0200 Subject: [Scilab-users] Finding elements occurring once in a matrix In-Reply-To: References: Message-ID: <2d5ecb31cebf1bebf039d3027f380c69@il.pw.edu.pl> Raphael, Stephane, Thanks a lot for your quick reaction and help. Best regards, Iza W dniu 05.07.2019 20:23, Rafael Guerra napisa?(a): > Try the following, without loops, inspired by a solution by B. Mohandes > : > > --> x = [1.1 1.1 3.2; 2.3 1.1 1.1; 4.7 5.2 5.2] > x = > 1.1 1.1 3.2 > 2.3 1.1 1.1 > 4.7 5.2 5.2 > > --> y = unique(x); y0 = [min(y)-1; y]; y(find(histc(y0,x(:),%F)==1)) > ans = > 2.3 > 3.2 > 4.7 > > Regards, > Rafael > > -----Original Message----- > From: users On Behalf Of St?phane > Mottelet > Sent: Friday, July 5, 2019 7:24 PM > To: users at lists.scilab.org > Subject: Re: [Scilab-users] Finding elements occuring once in a matrix > > Hello, > > Maybe not optimal, but does the job: > > x = [1 1 3 > 2 1 1 > 4 5 5]; > > f = []; > for y=unique(x(:))' > ? if length(find(x==y)) == 1 > ?? f = [f y]; > ? end > end > > --> f > ?f? = > > ?? 2.?? 3.?? 4. > > S. > > Le 05/07/2019 ? 18:03, Izabela W?jcik-Grz?ba a ?crit?: >> Hello, >> >> Is there a simple way of finding elements of matrix which occurs only >> once. For example in this matrix it would be 3 and 4: >> [1 1 3 >> 2 1 1 >> 4 5 5] >> >> For the time being I couldn't find any smart idea for that. Could you >> help? >> >> Kind regards, >> Iza From sgougeon at free.fr Fri Jul 5 21:03:03 2019 From: sgougeon at free.fr (Samuel Gougeon) Date: Fri, 5 Jul 2019 21:03:03 +0200 Subject: [Scilab-users] Finding elements occuring once in a matrix In-Reply-To: <91b67216bddf99f6083c3cf4d88d85a8@il.pw.edu.pl> References: <91b67216bddf99f6083c3cf4d88d85a8@il.pw.edu.pl> Message-ID: <61c01f4e-8132-d9ca-fd3f-84ca594ecc30@free.fr> Hello Izabela, You may use the following: --> x = [1.1 1.1 3.2; 2.3 1.1 1.1; 4.7 5.2 5.2] ?x? = ?? 1.1?? 1.1?? 3.2 ?? 2.3?? 1.1?? 1.1 ?? 4.7?? 5.2?? 5.2 --> r = tabul(x); r(r(:,2)==1,1) ?ans? = ?? 4.7 ?? 3.2 ?? 2.3 Samuel From acj119 at nifty.com Sat Jul 6 16:15:18 2019 From: acj119 at nifty.com (jaipur) Date: Sat, 6 Jul 2019 07:15:18 -0700 (MST) Subject: [Scilab-users] graphic object editor for Light property Message-ID: <1562422518427-0.post@n3.nabble.com> Hello, I'm using Scilab 6.02 on Windows 10. I'd like to know if graphic object editor is working for 'Light' property. A graphic object editor is working well after typing 'plot3d()'. Then I quit graphic object editor and type 'light()'. The 3D figure is affected as getting light. When starting graphic object editor, the following message appears on the console. ----------------------------- at line 116 of function TK_send_handles_list ( C:\Program Files\scilab-6.0.2\modules\tclsci\macros\TK_send_handles_list.sci line 116 ) at line 99 of function ged ( C:\PROGRA~1\SCILAB~2.2\modules\graphics\macros\ged.sci line 110 ) Light not handled ----------------------------- Does graphic object editor work for 'Light' property? -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html From sgougeon at free.fr Sat Jul 6 17:47:11 2019 From: sgougeon at free.fr (Samuel Gougeon) Date: Sat, 6 Jul 2019 17:47:11 +0200 Subject: [Scilab-users] graphic object editor for Light property In-Reply-To: <1562422518427-0.post@n3.nabble.com> References: <1562422518427-0.post@n3.nabble.com> Message-ID: Hello, Le 06/07/2019 ? 16:15, jaipur a ?crit?: > Hello, > > I'm using Scilab 6.02 on Windows 10. > I'd like to know if graphic object editor is working for 'Light' property. > > A graphic object editor is working well after typing 'plot3d()'. > Then I quit graphic object editor and type 'light()'. > The 3D figure is affected as getting light. > > When starting graphic object editor, the following message appears on the > console. > > ----------------------------- > at line 116 of function TK_send_handles_list ( C:\Program > Files\scilab-6.0.2\modules\tclsci\macros\TK_send_handles_list.sci line 116 ) > at line 99 of function ged ( > C:\PROGRA~1\SCILAB~2.2\modules\graphics\macros\ged.sci line 110 ) > > Light not handled > ----------------------------- > > Does graphic object editor work for 'Light' property? How to be more explicit than >Light not handled ? From jappa_20 at hotmail.com Wed Jul 10 12:32:53 2019 From: jappa_20 at hotmail.com (jarvjani) Date: Wed, 10 Jul 2019 03:32:53 -0700 (MST) Subject: [Scilab-users] C compiler for use with xcos In-Reply-To: <1558712648026-0.post@n3.nabble.com> References: <1558712648026-0.post@n3.nabble.com> Message-ID: <1562754773343-0.post@n3.nabble.com> To use c-compiler i needed to install mingw toolbox from ATOMS and downloaded latest compiler from equation.com http://www.equation.com/servlet/equation.cmd?fa=fortran -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html From davegutz at alum.mit.edu Tue Jul 16 22:17:33 2019 From: davegutz at alum.mit.edu (davegutz) Date: Tue, 16 Jul 2019 13:17:33 -0700 (MST) Subject: [Scilab-users] Transition from Xcos 5.5 to 6.0 Message-ID: <1563308253370-0.post@n3.nabble.com> Opening xcos drawn in 5.5.2 using 6.0.2 results in blank pages. There are no special import functions I can find in the 6.0 help. There are no white papers I've found yet on the scilab website. I suspect that since 6.0 was a substantial rewrite that we need to substantially redraw our xcos diagrams to move from 5.5 to 6.0? Can anybody confirm? I expected a v5.5x xcos diagram to open up in v6.0x, i.e. lots of block diagrams and connectors. It is happily opened by v6.0.2 but it is blank except from some annotations that got carried over. I need a clue. Thank you for your time. Dave -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html From stephane.mottelet at utc.fr Thu Jul 18 10:44:57 2019 From: stephane.mottelet at utc.fr (=?UTF-8?Q?St=c3=a9phane_Mottelet?=) Date: Thu, 18 Jul 2019 10:44:57 +0200 Subject: [Scilab-users] Transition from Xcos 5.5 to 6.0 In-Reply-To: <1563308253370-0.post@n3.nabble.com> References: <1563308253370-0.post@n3.nabble.com> Message-ID: <68ceb264-5f7b-99bf-50b8-ea243570734c@utc.fr> Hello, Thank you for having moved your original from Stackoverflow. Cl?ment is the expert for Xcos stuff, I hope he will be able to help you. S. Le 16/07/2019 ? 22:17, davegutz a ?crit?: > Opening xcos drawn in 5.5.2 using 6.0.2 results in blank pages. > > There are no special import functions I can find in the 6.0 help. There are > no white papers I've found yet on the scilab website. I suspect that since > 6.0 was a substantial rewrite that we need to substantially redraw our xcos > diagrams to move from 5.5 to 6.0? Can anybody confirm? > > I expected a v5.5x xcos diagram to open up in v6.0x, i.e. lots of block > diagrams and connectors. It is happily opened by v6.0.2 but it is blank > except from some annotations that got carried over. > > I need a clue. > > Thank you for your time. Dave > > > > -- > Sent from: https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html > _______________________________________________ > users mailing list > users at lists.scilab.org > https://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)344234688 http://www.utc.fr/~mottelet From sgougeon at free.fr Thu Jul 18 11:20:51 2019 From: sgougeon at free.fr (Samuel Gougeon) Date: Thu, 18 Jul 2019 11:20:51 +0200 Subject: [Scilab-users] Still available memory on the Java heap Message-ID: <2285e9f6-7112-3794-acd4-2cd077a6da4e@free.fr> Hello, Is there a way equivalent to getmemory() to get the free memory on the reserved Scilab java heap? xmlGetValues() can be used to get the total reserved java heap amount, but i would need to know the still free not yet used memory. Thanks Samuel From heinznabielek at me.com Fri Jul 19 09:30:43 2019 From: heinznabielek at me.com (Heinz Nabielek) Date: Fri, 19 Jul 2019 09:30:43 +0200 Subject: [Scilab-users] transparently overlapping histograms In-Reply-To: <68ceb264-5f7b-99bf-50b8-ea243570734c@utc.fr> References: <1563308253370-0.post@n3.nabble.com> <68ceb264-5f7b-99bf-50b8-ea243570734c@utc.fr> Message-ID: <51312D95-1E61-4E96-A004-6FE748680BC3@me.com> Scilab friends: I have seen transparently overlapping histograms in R and in Matlab. But how do I do that in Scilab? Heinz From antoine.monmayrant at laas.fr Fri Jul 19 09:42:52 2019 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Fri, 19 Jul 2019 09:42:52 +0200 Subject: [Scilab-users] transparently overlapping histograms In-Reply-To: <51312D95-1E61-4E96-A004-6FE748680BC3@me.com> References: <1563308253370-0.post@n3.nabble.com> <68ceb264-5f7b-99bf-50b8-ea243570734c@utc.fr> <51312D95-1E61-4E96-A004-6FE748680BC3@me.com> Message-ID: <7427a40a-f01b-68a9-d554-d8c0d2f65142@laas.fr> Le 19/07/2019 ? 09:30, Heinz Nabielek a ?crit?: > Scilab friends: > > I have seen transparently overlapping histograms in R and in Matlab. But how do I do that in Scilab? Basically? You can't. Scilab does not support transparency. My current workaround for transparent plots/graphs/surfaces is to plot everything in scilab, export as svg then edit the svg with Inkscape to set the transparency. Having transparency support in scilab would be a nice improvement... Antoine > Heinz > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From heinznabielek at me.com Fri Jul 19 09:55:57 2019 From: heinznabielek at me.com (Heinz Nabielek) Date: Fri, 19 Jul 2019 09:55:57 +0200 Subject: [Scilab-users] transparently overlapping histograms In-Reply-To: <7427a40a-f01b-68a9-d554-d8c0d2f65142@laas.fr> References: <1563308253370-0.post@n3.nabble.com> <68ceb264-5f7b-99bf-50b8-ea243570734c@utc.fr> <51312D95-1E61-4E96-A004-6FE748680BC3@me.com> <7427a40a-f01b-68a9-d554-d8c0d2f65142@laas.fr> Message-ID: Thanks a lot- unfortunately no idea about svg and inkscape. The neat thing with Scilab is that everything is easy and quick, both in calculation and display... Heinz > On 19.07.2019, at 09:42, Antoine Monmayrant wrote: > > > Le 19/07/2019 ? 09:30, Heinz Nabielek a ?crit : >> Scilab friends: >> >> I have seen transparently overlapping histograms in R and in Matlab. But how do I do that in Scilab? > Basically? > You can't. > Scilab does not support transparency. > My current workaround for transparent plots/graphs/surfaces is to plot everything in scilab, export as svg then edit the svg with Inkscape to set the transparency. > > Having transparency support in scilab would be a nice improvement... > > > Antoine > >> Heinz >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users >> > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From fmiyara at fceia.unr.edu.ar Fri Jul 19 10:41:23 2019 From: fmiyara at fceia.unr.edu.ar (Federico Miyara) Date: Fri, 19 Jul 2019 05:41:23 -0300 Subject: [Scilab-users] transparently overlapping histograms In-Reply-To: References: <1563308253370-0.post@n3.nabble.com> <68ceb264-5f7b-99bf-50b8-ea243570734c@utc.fr> <51312D95-1E61-4E96-A004-6FE748680BC3@me.com> <7427a40a-f01b-68a9-d554-d8c0d2f65142@laas.fr> Message-ID: <102c0775-410d-2a42-a4aa-6a9cd31812ef@fceia.unr.edu.ar> Heinz, Inkcape is a free software for vectorial graphics manipulation, similar to Freehand or Adobe Illustrator. It can be downloaded from https://portableapps.com/apps/graphics_pictures/inkscape_portable as a portable application and it is relatively easy to use. I haven't used to set transparency but it should surely be straightforward. Federico Miyara On 19/07/2019 04:55, Heinz Nabielek wrote: > Thanks a lot- unfortunately no idea about svg and inkscape. > > The neat thing with Scilab is that everything is easy and quick, both in calculation and display... > > Heinz > > > >> On 19.07.2019, at 09:42, Antoine Monmayrant wrote: >> >> >> Le 19/07/2019 ? 09:30, Heinz Nabielek a ?crit : >>> Scilab friends: >>> >>> I have seen transparently overlapping histograms in R and in Matlab. But how do I do that in Scilab? >> Basically? >> You can't. >> Scilab does not support transparency. >> My current workaround for transparent plots/graphs/surfaces is to plot everything in scilab, export as svg then edit the svg with Inkscape to set the transparency. >> >> Having transparency support in scilab would be a nice improvement... >> >> >> Antoine >> >>> Heinz >>> _______________________________________________ >>> users mailing list >>> users at lists.scilab.org >>> http://lists.scilab.org/mailman/listinfo/users >>> >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users > _______________________________________________ > users mailing list > users at lists.scilab.org > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From heinznabielek at me.com Fri Jul 19 13:22:56 2019 From: heinznabielek at me.com (Heinz Nabielek) Date: Fri, 19 Jul 2019 13:22:56 +0200 Subject: [Scilab-users] transparently overlapping histograms In-Reply-To: <7427a40a-f01b-68a9-d554-d8c0d2f65142@laas.fr> References: <1563308253370-0.post@n3.nabble.com> <68ceb264-5f7b-99bf-50b8-ea243570734c@utc.fr> <51312D95-1E61-4E96-A004-6FE748680BC3@me.com> <7427a40a-f01b-68a9-d554-d8c0d2f65142@laas.fr> Message-ID: <5498C13D-B2E9-43DA-AC6B-BDB9F9E48C5B@me.com> On 19.07.2019, at 09:42, Antoine Monmayrant wrote: > > > Le 19/07/2019 ? 09:30, Heinz Nabielek a ?crit : >> Scilab friends: >> >> I have seen transparently overlapping histograms in R and in Matlab. But how do I do that in Scilab? > Basically? > You can't. Primitive, but simple trick to outwit Scilab for my purposes: first dataset plotted with histplot subsequent datasets with histc and plotting squares with same width as histogram in differen colours... h d=.25;i=-5:d:5;j=-5+d/2:d:5-d/2; plot2d(0,0,0,"012", " ",[-5,-.05,5,.5]); histplot(i,grand(10000,1,'nor',0,1),style=5); A=histc(i,grand(1000,1,'nor',0,1));plot(j,A,'ks','markersize',9); A=histc(i,grand(1000,1,'nor',0,1));plot(j,A,'gs','markersize',9); A=histc(i,grand(1000,1,'nor',0,1));plot(j,A,'bs','markersize',9); From sgougeon at free.fr Fri Jul 19 13:41:43 2019 From: sgougeon at free.fr (Samuel Gougeon) Date: Fri, 19 Jul 2019 13:41:43 +0200 Subject: [Scilab-users] transparently overlapping histograms In-Reply-To: <5498C13D-B2E9-43DA-AC6B-BDB9F9E48C5B@me.com> References: <1563308253370-0.post@n3.nabble.com> <68ceb264-5f7b-99bf-50b8-ea243570734c@utc.fr> <51312D95-1E61-4E96-A004-6FE748680BC3@me.com> <7427a40a-f01b-68a9-d554-d8c0d2f65142@laas.fr> <5498C13D-B2E9-43DA-AC6B-BDB9F9E48C5B@me.com> Message-ID: <8a25fce6-7e39-6a63-0449-0607f72629c7@free.fr> Hello Heinz, After histplot(), you can just disable the filling of bars: d = rand(1,10000,'normal'); clf histplot(-3:0.5:3,d,normalization=%f); histplot(-3:0.5:3,d(1:5000)+1,normalization=%f,style=color("red")); *gca().children.children.fill_mode = "off";* Samuel Le 19/07/2019 ? 13:22, Heinz Nabielek a ?crit?: > On 19.07.2019, at 09:42, Antoine Monmayrant wrote: >> >> Le 19/07/2019 ? 09:30, Heinz Nabielek a ?crit : >>> Scilab friends: >>> >>> I have seen transparently overlapping histograms in R and in Matlab. But how do I do that in Scilab? >> Basically? >> You can't. > Primitive, but simple trick to outwit Scilab for my purposes: > > first dataset plotted with histplot > subsequent datasets with histc and plotting squares with same width as histogram in differen colours... > h > > d=.25;i=-5:d:5;j=-5+d/2:d:5-d/2; > > plot2d(0,0,0,"012", " ",[-5,-.05,5,.5]); > > histplot(i,grand(10000,1,'nor',0,1),style=5); > > A=histc(i,grand(1000,1,'nor',0,1));plot(j,A,'ks','markersize',9); > A=histc(i,grand(1000,1,'nor',0,1));plot(j,A,'gs','markersize',9); > A=histc(i,grand(1000,1,'nor',0,1));plot(j,A,'bs','markersize',9); > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: bjgpmldpmdnlheaj.png Type: image/png Size: 5214 bytes Desc: not available URL: From heinznabielek at me.com Fri Jul 19 13:44:58 2019 From: heinznabielek at me.com (Heinz Nabielek) Date: Fri, 19 Jul 2019 13:44:58 +0200 Subject: [Scilab-users] transparently overlapping histograms In-Reply-To: <8a25fce6-7e39-6a63-0449-0607f72629c7@free.fr> References: <1563308253370-0.post@n3.nabble.com> <68ceb264-5f7b-99bf-50b8-ea243570734c@utc.fr> <51312D95-1E61-4E96-A004-6FE748680BC3@me.com> <7427a40a-f01b-68a9-d554-d8c0d2f65142@laas.fr> <5498C13D-B2E9-43DA-AC6B-BDB9F9E48C5B@me.com> <8a25fce6-7e39-6a63-0449-0607f72629c7@free.fr> Message-ID: G R E A T T H A T I S I T WHAT I HAD BEEN LOOKING FOR.... HEINZ > On 19.07.2019, at 13:41, Samuel Gougeon wrote: > > Hello Heinz, > > After histplot(), you can just disable the filling of bars: > > d = rand(1,10000,'normal'); > clf > histplot(-3:0.5:3,d,normalization=%f); > histplot(-3:0.5:3,d(1:5000)+1,normalization=%f,style=color("red")); > gca().children.children.fill_mode = "off"; > > > > Samuel > > Le 19/07/2019 ? 13:22, Heinz Nabielek a ?crit : >> On 19.07.2019, at 09:42, Antoine Monmayrant >> wrote: >> >>> >>> Le 19/07/2019 ? 09:30, Heinz Nabielek a ?crit : >>> >>>> Scilab friends: >>>> >>>> I have seen transparently overlapping histograms in R and in Matlab. But how do I do that in Scilab? >>>> >>> Basically? >>> You can't. >>> >> Primitive, but simple trick to outwit Scilab for my purposes: >> >> first dataset plotted with histplot >> subsequent datasets with histc and plotting squares with same width as histogram in differen colours... >> h >> >> d=.25;i=-5:d:5;j=-5+d/2:d:5-d/2; >> >> plot2d(0,0,0,"012", " ",[-5,-.05,5,.5]); >> >> histplot(i,grand(10000,1,'nor',0,1),style=5); >> >> A=histc(i,grand(1000,1,'nor',0,1));plot(j,A,'ks','markersize',9); >> A=histc(i,grand(1000,1,'nor',0,1));plot(j,A,'gs','markersize',9); >> A=histc(i,grand(1000,1,'nor',0,1));plot(j,A,'bs','markersize',9); >> _______________________________________________ >> users mailing list >> >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From jdb61858 at suoox.com Fri Jul 19 15:10:18 2019 From: jdb61858 at suoox.com (RolandB) Date: Fri, 19 Jul 2019 06:10:18 -0700 (MST) Subject: [Scilab-users] transparently overlapping histograms In-Reply-To: <7427a40a-f01b-68a9-d554-d8c0d2f65142@laas.fr> References: <1563308253370-0.post@n3.nabble.com> <68ceb264-5f7b-99bf-50b8-ea243570734c@utc.fr> <51312D95-1E61-4E96-A004-6FE748680BC3@me.com> <7427a40a-f01b-68a9-d554-d8c0d2f65142@laas.fr> Message-ID: <1563541818143-0.post@n3.nabble.com> Hi, Actually there is a possibility for some kind of transparency in Scilab. See here: https://help.scilab.org/docs/6.0.2/en_US/pixel_drawing_mode.html It would be nicer if the bitwise operations could be done with the number that finally selects a color from the color table, as that would enable to achieve much better pseudo-transparency, but the present possibilities are still better than nothing. Roland -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html From Clement.David at esi-group.com Mon Jul 22 15:58:02 2019 From: Clement.David at esi-group.com (=?iso-8859-1?Q?Cl=E9ment_David?=) Date: Mon, 22 Jul 2019 13:58:02 +0000 Subject: [Scilab-users] Transition from Xcos 5.5 to 6.0 In-Reply-To: <1563308253370-0.post@n3.nabble.com> References: <1563308253370-0.post@n3.nabble.com> Message-ID: Hello, As we have ported our 5.5.2 files to 6.0.2 without issue, this is likely an issue within the zcos files you use. Could you please send these files (or report a bug and attach them) to check? A potential issue might come from encoding, another by misrepresenting the diagram hierarchy (setting the wrong diagram root for exemple). -- Cl?ment > -----Original Message----- > From: users On Behalf Of davegutz > Sent: Tuesday, July 16, 2019 10:18 PM > To: users at lists.scilab.org > Subject: [Scilab-users] Transition from Xcos 5.5 to 6.0 > > Opening xcos drawn in 5.5.2 using 6.0.2 results in blank pages. > > There are no special import functions I can find in the 6.0 help. There are no > white papers I've found yet on the scilab website. I suspect that since > 6.0 was a substantial rewrite that we need to substantially redraw our xcos > diagrams to move from 5.5 to 6.0? Can anybody confirm? > > I expected a v5.5x xcos diagram to open up in v6.0x, i.e. lots of block diagrams > and connectors. It is happily opened by v6.0.2 but it is blank except from some > annotations that got carried over. > > I need a clue. > > Thank you for your time. Dave > > > > -- > Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives- > f2602246.html > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From Clement.David at esi-group.com Mon Jul 22 16:01:13 2019 From: Clement.David at esi-group.com (=?iso-8859-1?Q?Cl=E9ment_David?=) Date: Mon, 22 Jul 2019 14:01:13 +0000 Subject: [Scilab-users] Still available memory on the Java heap In-Reply-To: <2285e9f6-7112-3794-acd4-2cd077a6da4e@free.fr> References: <2285e9f6-7112-3794-acd4-2cd077a6da4e@free.fr> Message-ID: Hello Samuel, You can get memory information from the JVM using JIMS: --> jimport java.lang.Runtime --> Runtime.getRuntime().totalMemory() ans = 249036800 --> Runtime.getRuntime().freeMemory() ans = 175335480 Regards, -- Cl?ment DAVID > -----Original Message----- > From: users On Behalf Of Samuel Gougeon > Sent: Thursday, July 18, 2019 11:21 AM > To: International users mailing list for Scilab. > Subject: [Scilab-users] Still available memory on the Java heap > > Hello, > > Is there a way equivalent to getmemory() to get the free memory on the > reserved Scilab java heap? > > xmlGetValues() can be used to get the total reserved java heap amount, but i > would need to know the still free not yet used memory. > > Thanks > Samuel > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From sgougeon at free.fr Mon Jul 22 21:10:29 2019 From: sgougeon at free.fr (Samuel Gougeon) Date: Mon, 22 Jul 2019 21:10:29 +0200 Subject: [Scilab-users] Still available memory on the Java heap In-Reply-To: References: <2285e9f6-7112-3794-acd4-2cd077a6da4e@free.fr> Message-ID: Hello Cl?ment, Le 22/07/2019 ? 16:01, Cl?ment David a ?crit?: > Hello Samuel, > > You can get memory information from the JVM using JIMS: > > --> jimport java.lang.Runtime > > --> Runtime.getRuntime().totalMemory() > ans = > > 249036800 > > > --> Runtime.getRuntime().freeMemory() > ans = > > 175335480 Excellent! Thanks a lot. Samuel From sgougeon at free.fr Mon Jul 22 21:39:39 2019 From: sgougeon at free.fr (Samuel Gougeon) Date: Mon, 22 Jul 2019 21:39:39 +0200 Subject: [Scilab-users] animaGIF 1.0 is released Message-ID: <17ae14e8-8527-b0a8-6c6b-7040e5a79c08@free.fr> Hello, I am glad to announce the first release of the animaGIF package : https://atoms.scilab.org/toolboxes/animaGIF animaGIF() aims to be a stand-alone function (no thirdparty), easy to use and easy to maintain (no hard code to recompile from a Scilab version to next ones). It is fully documented (with animated examples displayed in the Scilab help :-) Enjoy. Samuel PS : Scilab pointers about the topic : http://bugzilla.scilab.org/5569 http://mailinglists.scilab.org/Scilab-users-animation-of-multiple-plots-tt4032828.html#a4032836 http://mailinglists.scilab.org/Scilab-users-animation-of-multiple-plots-tp4032841p4032845.html --------------------------------------- animated GIF creator stand-alone creation of an animated GIF image from images files or from a live figure Description : animaGIF() builds an animated GIF from png | jpg | bmp images files, or directly from a live graphical figure. It uses the JVM embedded in Scilab and is stand-alone. No external thirdparty application (like ImageMagic or Gimp, etc) is required. SYNTAXES -------- animaGIF(filemask, outgif) animaGIF(imagefiles, outgif) animaGIF(.., delay) animaGIF(.., delay, loops) idGif = animaGIF(idFig, outgif) // opens the GIF stream idGif = animaGIF(idFig, outgif, delay) idGif = animaGIF(idFig, outgif, delay, loops) idGif = animaGIF(idFig, idGif) // adds a snapshot of the figure animaGIF(idGif) // closes the GIF stream -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfuttrup at gmail.com Tue Jul 23 22:23:23 2019 From: cfuttrup at gmail.com (Claus Futtrup) Date: Tue, 23 Jul 2019 22:23:23 +0200 Subject: [Scilab-users] animaGIF 1.0 is released In-Reply-To: <17ae14e8-8527-b0a8-6c6b-7040e5a79c08@free.fr> References: <17ae14e8-8527-b0a8-6c6b-7040e5a79c08@free.fr> Message-ID: <3e000c7d-0d72-f634-d25a-1296fb9238a4@gmail.com> Hi Samuel Thanks. That's such a useful feature. You're a Scilab genius! Cheers, Claus On 22.07.2019 21:39, Samuel Gougeon wrote: > Hello, > > I am glad to announce the first release of the animaGIF package : > https://atoms.scilab.org/toolboxes/animaGIF > > animaGIF() aims to be a stand-alone function (no thirdparty), easy to > use and easy to maintain > (no hard code to recompile from a Scilab version to next ones). > > It is fully documented (with animated examples displayed in the Scilab > help :-) > > Enjoy. > Samuel > > PS : Scilab pointers about the topic : > http://bugzilla.scilab.org/5569 > http://mailinglists.scilab.org/Scilab-users-animation-of-multiple-plots-tt4032828.html#a4032836 > http://mailinglists.scilab.org/Scilab-users-animation-of-multiple-plots-tp4032841p4032845.html > > --------------------------------------- > > > animated GIF creator > > stand-alone creation of an animated GIF image from images files or > from a live figure > > Description : > > animaGIF() builds an animated GIF from png | jpg | bmp images files, or directly > from a live graphical figure. > > It uses the JVM embedded in Scilab and is stand-alone. No external thirdparty > application (like ImageMagic or Gimp, etc) is required. > > SYNTAXES > -------- > animaGIF(filemask, outgif) > animaGIF(imagefiles, outgif) > animaGIF(.., delay) > animaGIF(.., delay, loops) > > idGif = animaGIF(idFig, outgif) // opens the GIF stream > idGif = animaGIF(idFig, outgif, delay) > idGif = animaGIF(idFig, outgif, delay, loops) > idGif = animaGIF(idFig, idGif) // adds a snapshot of the figure > animaGIF(idGif) // closes the GIF stream > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus -------------- next part -------------- An HTML attachment was scrubbed... URL: From yann.debray at scilab-enterprises.com Tue Jul 23 22:42:17 2019 From: yann.debray at scilab-enterprises.com (Yann Debray @ Scilab) Date: Tue, 23 Jul 2019 20:42:17 +0000 (UTC) Subject: [Scilab-users] animaGIF 1.0 is released In-Reply-To: <3e000c7d-0d72-f634-d25a-1296fb9238a4@gmail.com> References: <17ae14e8-8527-b0a8-6c6b-7040e5a79c08@free.fr> <3e000c7d-0d72-f634-d25a-1296fb9238a4@gmail.com> Message-ID: <87CF7FFF6542B9AA.7A41C13A-F8CD-4668-A343-67E9F1221B6F@mail.outlook.com> Congrats Samuel, that is a useful feature!I am always looking for some animations to demonstrate the capabilities of Scilab. This shall help greatly. I will advertise it in the newsfeed. --Yann DebrayScilab DirectorESI GroupCell: +33 6 88 20 67 01 Website: https://www.scilab.org On Tue, Jul 23, 2019 at 10:22 PM +0200, "Claus Futtrup" wrote: Hi Samuel Thanks. That's such a useful feature. You're a Scilab genius! Cheers, Claus On 22.07.2019 21:39, Samuel Gougeon wrote: Hello, I am glad to announce the first release of the animaGIF package : https://atoms.scilab.org/toolboxes/animaGIF animaGIF() aims to be a stand-alone function (no thirdparty), easy to use and easy to maintain (no hard code to recompile from a Scilab version to next ones). It is fully documented (with animated examples displayed in the Scilab help :-) Enjoy. Samuel PS : Scilab pointers about the topic : http://bugzilla.scilab.org/5569 http://mailinglists.scilab.org/Scilab-users-animation-of-multiple-plots-tt4032828.html#a4032836 http://mailinglists.scilab.org/Scilab-users-animation-of-multiple-plots-tp4032841p4032845.html --------------------------------------- animated GIF creator stand-alone creation of an animated GIF image from images files or from a live figure Description : animaGIF() builds an animated GIF from png | jpg | bmp images files, or directly from a live graphical figure. It uses the JVM embedded in Scilab and is stand-alone. No external thirdparty application (like ImageMagic or Gimp, etc) is required. SYNTAXES -------- animaGIF(filemask, outgif) animaGIF(imagefiles, outgif) animaGIF(.., delay) animaGIF(.., delay, loops) idGif = animaGIF(idFig, outgif) // opens the GIF stream idGif = animaGIF(idFig, outgif, delay) idGif = animaGIF(idFig, outgif, delay, loops) idGif = animaGIF(idFig, idGif) // adds a snapshot of the figure animaGIF(idGif) // closes the GIF stream _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users Virus-free. www.avast.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephane.mottelet at utc.fr Thu Jul 25 10:26:13 2019 From: stephane.mottelet at utc.fr (=?UTF-8?Q?St=c3=a9phane_Mottelet?=) Date: Thu, 25 Jul 2019 10:26:13 +0200 Subject: [Scilab-users] animaGIF 1.0 is released In-Reply-To: <17ae14e8-8527-b0a8-6c6b-7040e5a79c08@free.fr> References: <17ae14e8-8527-b0a8-6c6b-7040e5a79c08@free.fr> Message-ID: <550d3af4-69fa-1f0e-8397-57fc6b7875f5@utc.fr> Thank you Samuel for this nice feature ! S. Le 22/07/2019 ? 21:39, Samuel Gougeon a ?crit?: > Hello, > > I am glad to announce the first release of the animaGIF package : > https://atoms.scilab.org/toolboxes/animaGIF > > animaGIF() aims to be a stand-alone function (no thirdparty), easy to > use and easy to maintain > (no hard code to recompile from a Scilab version to next ones). > > It is fully documented (with animated examples displayed in the Scilab > help :-) > > Enjoy. > Samuel > > PS : Scilab pointers about the topic : > http://bugzilla.scilab.org/5569 > http://mailinglists.scilab.org/Scilab-users-animation-of-multiple-plots-tt4032828.html#a4032836 > http://mailinglists.scilab.org/Scilab-users-animation-of-multiple-plots-tp4032841p4032845.html > > --------------------------------------- > > > animated GIF creator > > stand-alone creation of an animated GIF image from images files or > from a live figure > > Description : > > animaGIF() builds an animated GIF from png | jpg | bmp images files, or directly > from a live graphical figure. > > It uses the JVM embedded in Scilab and is stand-alone. No external thirdparty > application (like ImageMagic or Gimp, etc) is required. > > SYNTAXES > -------- > animaGIF(filemask, outgif) > animaGIF(imagefiles, outgif) > animaGIF(.., delay) > animaGIF(.., delay, loops) > > idGif = animaGIF(idFig, outgif) // opens the GIF stream > idGif = animaGIF(idFig, outgif, delay) > idGif = animaGIF(idFig, outgif, delay, loops) > idGif = animaGIF(idFig, idGif) // adds a snapshot of the figure > animaGIF(idGif) // closes the GIF stream > > > _______________________________________________ > users mailing list > users at lists.scilab.org > https://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)344234688 http://www.utc.fr/~mottelet -------------- next part -------------- An HTML attachment was scrubbed... URL: From stevenrjarrett at gmail.com Fri Jul 26 19:22:14 2019 From: stevenrjarrett at gmail.com (stevenrjarrett) Date: Fri, 26 Jul 2019 10:22:14 -0700 (MST) Subject: [Scilab-users] Converting a figure to a SciCV Mat Message-ID: <1564161734067-0.post@n3.nabble.com> Is there a way to convert a Scilab figure to a SciCV Mat? I had thought the simplest way would be to convert the figure to a matrix and use the matrix data to create the SciCV Mat, but I have not been successful finding a way to do either. The reason I want to convert between them is so that I can create a video that shows data being plotted in real time. I have done this successfully by creating the figures, writing a series of image files, and converting the images to a video using the SciCV toolbox. As you can imagine, it is time consuming to write that many images to the disk as only an intermediate step, and I have been trying to find a cleaner/faster way to do it within Scilab. -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html From sgougeon at free.fr Fri Jul 26 19:52:55 2019 From: sgougeon at free.fr (Samuel Gougeon) Date: Fri, 26 Jul 2019 19:52:55 +0200 Subject: [Scilab-users] Converting a figure to a SciCV Mat In-Reply-To: <1564161734067-0.post@n3.nabble.com> References: <1564161734067-0.post@n3.nabble.com> Message-ID: <30bb66bd-a308-d74c-2958-0de1e956697b@free.fr> Hello, Le 26/07/2019 ? 19:22, stevenrjarrett a ?crit?: > Is there a way to convert a Scilab figure to a SciCV Mat? I had thought the > simplest way would be to convert the figure to a matrix and use the matrix > data to create the SciCV Mat, but I have not been successful finding a way > to do either. > > The reason I want to convert between them is so that I can create a video > that shows data being plotted in real time. I have done this successfully by > creating the figures, writing a series of image files, and converting the > images to a video using the SciCV toolbox. As you can imagine, it is time > consuming to write that many images to the disk as only an intermediate > step, and I have been trying to find a cleaner/faster way to do it within > Scilab. If you are really in a hurry, i am afraid that you will have to find an external solution, because anyway exporting figures within Scilab is quite slow, even in bitmap encodings. This has been reported here and is still the case. Otherwise, you can use animaGIF(), that can avoid storing all intermediate images, but that does not avoid creating them. So, it saves disk space, but not time as you request. It does not really aim to make video with a "normal" frame rate, although it can mimik it. Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From chinluh at tritytech.com Sat Jul 27 18:08:56 2019 From: chinluh at tritytech.com (Tan Chin Luh) Date: Sun, 28 Jul 2019 00:08:56 +0800 Subject: [Scilab-users] Converting a figure to a SciCV Mat In-Reply-To: <30bb66bd-a308-d74c-2958-0de1e956697b@free.fr> References: <1564161734067-0.post@n3.nabble.com> <30bb66bd-a308-d74c-2958-0de1e956697b@free.fr> Message-ID: <91e6f105-ea8a-e0a5-6e06-422ddb03cfb0@tritytech.com> Hi, While I think to create animation to animated gif is the most effective way to share the animation, another alternative you could look at is using the IPCV to create a movie from it. Please find below for the sample codes: _________________ tic(); // open a file for write n = avifile('test.avi', [640;480], 30,'xvid'); // Initiate plot and get the handle plot(rand(100,1)); e = gce(); scf(0) // run 100 frame random data for cnt = 1:100 ??? new_data = rand(100,1); // new data ??? e.children.data(:,2) = new_data;?? // replace new data onto current plot ??? im = xs2im(0);? // get the plot into a matrix ??? addframe(n, im);??? // add the matrix/frame into the file end aviclose(n); disp(toc()); ____________________ Still, the function "xs2im" will still create the intermediate file in the temp folder as like animaGIF. The above 100 frames took about 6s in i5 computer. In this case, you could control the resolution of the video, and also the frame rate of the video. Thanks. Chin Luh On 27/7/2019 1:52 AM, Samuel Gougeon wrote: > Hello, > > Le 26/07/2019 ? 19:22, stevenrjarrett a ?crit?: >> Is there a way to convert a Scilab figure to a SciCV Mat? I had thought the >> simplest way would be to convert the figure to a matrix and use the matrix >> data to create the SciCV Mat, but I have not been successful finding a way >> to do either. >> >> The reason I want to convert between them is so that I can create a video >> that shows data being plotted in real time. I have done this successfully by >> creating the figures, writing a series of image files, and converting the >> images to a video using the SciCV toolbox. As you can imagine, it is time >> consuming to write that many images to the disk as only an intermediate >> step, and I have been trying to find a cleaner/faster way to do it within >> Scilab. > > If you are really in a hurry, i am afraid that you will have to find > an external solution, because anyway exporting figures within Scilab > is quite slow, even in bitmap encodings. This has been reported here > and is still the case. > > Otherwise, you can use animaGIF(), that can avoid storing all > intermediate images, but that does not avoid creating them. So, it > saves disk space, but not time as you request. It does not really aim > to make video with a "normal" frame rate, although it can mimik it. > > Samuel > > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From j.s.strom at hslmg.de Mon Jul 29 15:49:08 2019 From: j.s.strom at hslmg.de (Jens Simon Strom) Date: Mon, 29 Jul 2019 15:49:08 +0200 Subject: [Scilab-users] Font size of console printings on paper Message-ID: <6cae8f2b-a51d-e6c1-0527-cf1b87414dbd@hslmg.de> Hallo Scilab community, How do you control? the font size, when printing the console content to paper. My changes in the console file menu lead to nothing. I aim at? smaller characters. Kiond regards Jens From acj119 at nifty.com Mon Jul 29 16:30:17 2019 From: acj119 at nifty.com (jaipur) Date: Mon, 29 Jul 2019 07:30:17 -0700 (MST) Subject: [Scilab-users] location of z-axis on 3D Message-ID: <1564410617955-0.post@n3.nabble.com> Dear all In the following 3D program, I'd like to set the location of z-axis to also zero. How should I add code? plot3d() h = gca(); h.x_location = "origin" h.y_location = "origin" -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html From sgougeon at free.fr Mon Jul 29 21:21:20 2019 From: sgougeon at free.fr (Samuel Gougeon) Date: Mon, 29 Jul 2019 21:21:20 +0200 Subject: [Scilab-users] location of z-axis on 3D In-Reply-To: <1564410617955-0.post@n3.nabble.com> References: <1564410617955-0.post@n3.nabble.com> Message-ID: Le 29/07/2019 ? 16:30, jaipur a ?crit?: > Dear all > > In the following 3D program, I'd like to set the location of z-axis to also > zero. How should I add code? > > plot3d() > h = gca(); > h.x_location = "origin" > h.y_location = "origin" AFAIK, it has been requested -> there , but is still impossible. You may add a comment in the bugzilla thread, if you need this feature. An additional request has been posted to become able to freely choose the crossing point of axes, not necessarily at [0 0 0]. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Mon Jul 29 21:35:09 2019 From: sgougeon at free.fr (Samuel Gougeon) Date: Mon, 29 Jul 2019 21:35:09 +0200 Subject: [Scilab-users] Transition from Xcos 5.5 to 6.0 In-Reply-To: References: <1563308253370-0.post@n3.nabble.com> Message-ID: <9c2b946a-fb18-f399-b16e-e433dc445c50@free.fr> Le 22/07/2019 ? 15:58, Cl?ment David a ?crit?: > Hello, > > As we have ported our 5.5.2 files to 6.0.2 without issue, this is likely an issue within the zcos files you use. Could you please send these files (or report a bug and attach them) to check? Dave's answer in a private mail: Le 19/07/2019 ? 01:16, Dave Gutz a ?crit?: > Thanks, Samuel! *I had misread the version of Scilab I was using.? It > was 6.0.1 afterall.*? ? Now I'm chasing regular scripting port issues > and it's much more satisfying. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sl1800 at rochester.rr.com Wed Jul 31 18:25:22 2019 From: sl1800 at rochester.rr.com (VTX1801) Date: Wed, 31 Jul 2019 09:25:22 -0700 (MST) Subject: [Scilab-users] Java exception error Message-ID: <1564590322241-0.post@n3.nabble.com> Hello, Submitted the following to bugzilla.scilab.org. It was suggested I post to this mailing list. Thanks in advance for effort to resolve this issue. Ted BUG DESCRIPTION: Tried several methods to print the entire GUI window. Get the following error in the console window: printfigure: A Java exception arisen: Exception when calling Java method : org.scilab.modules.gui.bridge.tab.SwingScilabStaticPanel cannot be cast to org.scilab.modules.gui.bridge.tab.SwingScilabDockablePanel at org.scilab.modules.gui.bridge.CallScilabBridge.printFigure(Unknown Source) ERROR LOG: ---------- HOW TO REPRODUCE THE BUG: Create a GUI window and add a push button to print GUI window from the callback function. OTHER INFORMATION: Tried several methods to print with the following code samples: function pb_print_callback(handles) //Write your callback for pb_print here //This function opens a dialog to select a printer, printing options... and then prints the figure. printfigure(get(gcf(), "figure_id")); //scf(0); // Make graphic window 0 the current figure //gcf() // Return the graphic handle of the current figure //Print command. //toprint(0,"pos"); ------------------ -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html