From stephane.mottelet at utc.fr Thu Jul 1 11:32:29 2021 From: stephane.mottelet at utc.fr (=?UTF-8?Q?St=c3=a9phane_Mottelet?=) Date: Thu, 1 Jul 2021 11:32:29 +0200 Subject: [Scilab-users] Native arm64 build for Mac M1 Message-ID: <611deabe-2b6c-a302-0b9a-2ff2aa143ea0@utc.fr> Hello, A native arm64 build for Mac M1 machines is now available at https://www.utc.fr/~mottelet/scilab_for_macOS.html The Intel build was already working on these machines but if you experienced a relative slowness, the native build will be much faster. However, the new hardware features of these machines are still not fully used. The Apple Accelerate Framework which uses all Intel features is still in its infancy on M1 architecture and I had to switch to OpenBLAS for this particular build in order to recover the performances of the Intel build on Intel machines. In addition, be warned that the Atoms packages using C/C++ gateways won't work until authors update them to include both x86_64 and arm64 libraries. Hopefully the compilation of gateways works quite smoothly (C/C++ examples of ilib_build do work) . So, if you have a M1 Mac and are a Scilab user please give this native build a try and report eventual success or problems here on the mailing list. Best, -- 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 heinznabielek at me.com Fri Jul 2 00:15:25 2021 From: heinznabielek at me.com (Heinz Nabielek) Date: Fri, 2 Jul 2021 00:15:25 +0200 Subject: [Scilab-users] How can I make a movie that shows how the sphere rotates around the z-axis? In-Reply-To: <611deabe-2b6c-a302-0b9a-2ff2aa143ea0@utc.fr> References: <611deabe-2b6c-a302-0b9a-2ff2aa143ea0@utc.fr> Message-ID: <4DCA0E27-FEEC-421F-B859-14F8048ECB7B@me.com> Colleagues: the code below generates 14,500 random points in a spherical volume. How can I make a movie that shows how the sphere rotates around the z-axis? And how do I store the animation? animaGIF does not exist on my Scilab 6.1 in my macOS 10.15.7 Heinz R=23; N=14500; r=grand(N,1,'unf',0,R); phi=grand(N,1,'unf',0,2*%pi); theta=grand(N,1,'unf',0,%pi); x=r.*cos(phi).*sin(theta); y=r.*sin(phi).*sin(theta); z=r.*cos(theta); scatter3d(x,y,z,msizes=4); gca().rotation_angles = [60, 60]; ______________ Dr Heinz Nabielek Sch?ttelstrasse 77A/11 A-1020 Wien, ?sterreich Tel +43 1 276 56 13 cell +43 677 616 349 22 heinznabielek at me.com From p.muehlmann at gmail.com Fri Jul 2 10:50:55 2021 From: p.muehlmann at gmail.com (P M) Date: Fri, 2 Jul 2021 10:50:55 +0200 Subject: [Scilab-users] How can I make a movie that shows how the sphere rotates around the z-axis? In-Reply-To: <4DCA0E27-FEEC-421F-B859-14F8048ECB7B@me.com> References: <611deabe-2b6c-a302-0b9a-2ff2aa143ea0@utc.fr> <4DCA0E27-FEEC-421F-B859-14F8048ECB7B@me.com> Message-ID: .... the rotation can be realised by changing "rotation_angles" in a for loop .. creating the movie...maybe use scicv? in a for loop - set rotation angle - display the graph - save the actual graph as an image - reload the image - add image to frame see code below: Only draw back here: the avi-file could not be played afterwards..and had only 6kB in size. I guess, this is because ffmpeg is missing on my PC, but I am pretty sure that some scicv expert could solve this issue. BR Philipp scicv_Init(); R=23;N=14500; r=grand(N,1,'unf',0,R);phi=grand(N,1,'unf',0,2*%pi);theta=grand(N,1,'unf',0,%pi);x=r.*cos(phi).*sin(theta);y=r.*sin(phi).*sin(theta);z=r.*cos(theta); f = figure();f.background = 8;scatter3d(x,y,z,msizes=4);a = gca(); // create the avi filevideoWriter = new_VideoWriter("F:\testAvi.avi", CV_FOURCC('M', 'P', '4', '2'), 25, [400, 400]); for i = 0:360 a.rotation_angles = [60, i]; // save the graph as image xs2png(f.figure_id, 'F:\testImg.bmp'); // read image img = imread('F:\testImg.png', CV_LOAD_IMAGE_GRAYSCALE); // add image as frame to avi VideoWriter_write(videoWriter, img); end // free avi from memorydelete_VideoWriter(videoWriter); Am Fr., 2. Juli 2021 um 00:22 Uhr schrieb Heinz Nabielek < heinznabielek at me.com>: > Colleagues: > > the code below generates 14,500 random points in a spherical volume. > How can I make a movie that shows how the sphere rotates around the > z-axis? And how do I store the animation? animaGIF does not exist on my > Scilab 6.1 in my macOS 10.15.7 > > Heinz > > > R=23; > N=14500; > r=grand(N,1,'unf',0,R); > phi=grand(N,1,'unf',0,2*%pi); > theta=grand(N,1,'unf',0,%pi); > x=r.*cos(phi).*sin(theta); > y=r.*sin(phi).*sin(theta); > z=r.*cos(theta); > scatter3d(x,y,z,msizes=4); > gca().rotation_angles = [60, 60]; > > > ______________ > Dr Heinz Nabielek > Sch?ttelstrasse 77A/11 > A-1020 Wien, ?sterreich > Tel +43 1 276 56 13 > cell +43 677 616 349 22 > heinznabielek at me.com > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephane.mottelet at utc.fr Fri Jul 2 16:29:50 2021 From: stephane.mottelet at utc.fr (=?UTF-8?Q?St=c3=a9phane_Mottelet?=) Date: Fri, 2 Jul 2021 16:29:50 +0200 Subject: [Scilab-users] How can I make a movie that shows how the sphere rotates around the z-axis? In-Reply-To: <4DCA0E27-FEEC-421F-B859-14F8048ECB7B@me.com> References: <611deabe-2b6c-a302-0b9a-2ff2aa143ea0@utc.fr> <4DCA0E27-FEEC-421F-B859-14F8048ECB7B@me.com> Message-ID: Hi, animaGIF is a platform-independent package (based on Java), hence it is available on MacOS. Don't you see it in the list of available packages ("Graphics" category) ? S. Le 02/07/2021 ? 00:15, Heinz Nabielek a ?crit?: > Colleagues: > > the code below generates 14,500 random points in a spherical volume. > How can I make a movie that shows how the sphere rotates around the z-axis? And how do I store the animation? animaGIF does not exist on my Scilab 6.1 in my macOS 10.15.7 > > Heinz > > > R=23; > N=14500; > r=grand(N,1,'unf',0,R); > phi=grand(N,1,'unf',0,2*%pi); > theta=grand(N,1,'unf',0,%pi); > x=r.*cos(phi).*sin(theta); > y=r.*sin(phi).*sin(theta); > z=r.*cos(theta); > scatter3d(x,y,z,msizes=4); > gca().rotation_angles = [60, 60]; > > > ______________ > Dr Heinz Nabielek > Sch?ttelstrasse 77A/11 > A-1020 Wien, ?sterreich > Tel +43 1 276 56 13 > cell +43 677 616 349 22 > heinznabielek at me.com > _______________________________________________ > users mailing list > users at lists.scilab.org > http://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 heinznabielek at me.com Fri Jul 2 23:03:29 2021 From: heinznabielek at me.com (Heinz Nabielek) Date: Fri, 2 Jul 2021 23:03:29 +0200 Subject: [Scilab-users] How can I make a movie that shows how the sphere rotates around the z-axis? In-Reply-To: References: <611deabe-2b6c-a302-0b9a-2ff2aa143ea0@utc.fr> <4DCA0E27-FEEC-421F-B859-14F8048ECB7B@me.com> Message-ID: <7170B02B-3DB9-4075-90DD-B2CD00946EE8@me.com> Thanks. The rotating graphics works well, but on my Mac with Scilab 6.1, already the first line "scicv_Init()" bumps... What to do? Heinz > On 02.07.2021, at 10:50, P M wrote: > > .... the rotation can be realised by changing "rotation_angles" in a for loop > > .. creating the movie...maybe use scicv? > > in a for loop > - set rotation angle > - display the graph > - save the actual graph as an image > - reload the image > - add image to frame > > > see code below: > Only draw back here: the avi-file could not be played afterwards..and had only 6kB in size. > > I guess, this is because ffmpeg is missing on my PC, but I am pretty sure that some scicv expert could solve this issue. > > BR > Philipp > > scicv_Init(); > > > > R=23; > N=14500; > > > r=grand(N,1,'unf',0,R); > phi=grand(N,1,'unf',0,2*%pi); > theta=grand(N,1,'unf',0,%pi); > x=r.*cos(phi).*sin(theta); > y=r.*sin(phi).*sin(theta); > z=r.*cos(theta); > > > > f = figure(); > f.background = 8; > scatter3d(x,y,z,msizes=4); > a = gca(); > > > > // create the avi file > videoWriter = new_VideoWriter("F:\testAvi.avi", CV_FOURCC('M', 'P', '4', '2'), 25, [400, 400]); > > > > for i = 0:360 > > > a.rotation_angles = [60, i]; > > > > // save the graph as image > > > xs2png(f.figure_id, 'F:\testImg.bmp'); > > > > // read image > > > img = imread('F:\testImg.png', CV_LOAD_IMAGE_GRAYSCALE); > > > > // add image as frame to avi > > > VideoWriter_write(videoWriter, img); > > > > end > > > > // free avi from memory > delete_VideoWriter(videoWriter); > > > > > > Am Fr., 2. Juli 2021 um 00:22 Uhr schrieb Heinz Nabielek : > Colleagues: > > the code below generates 14,500 random points in a spherical volume. > How can I make a movie that shows how the sphere rotates around the z-axis? And how do I store the animation? animaGIF does not exist on my Scilab 6.1 in my macOS 10.15.7 > > Heinz > > > R=23; > N=14500; > r=grand(N,1,'unf',0,R); > phi=grand(N,1,'unf',0,2*%pi); > theta=grand(N,1,'unf',0,%pi); > x=r.*cos(phi).*sin(theta); > y=r.*sin(phi).*sin(theta); > z=r.*cos(theta); > scatter3d(x,y,z,msizes=4); > gca().rotation_angles = [60, 60]; > > > ______________ > Dr Heinz Nabielek > Sch?ttelstrasse 77A/11 > A-1020 Wien, ?sterreich > Tel +43 1 276 56 13 > cell +43 677 616 349 22 > heinznabielek at me.com > _______________________________________________ > 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 stephane.mottelet at utc.fr Fri Jul 2 23:25:46 2021 From: stephane.mottelet at utc.fr (=?UTF-8?Q?St=c3=a9phane_Mottelet?=) Date: Fri, 2 Jul 2021 23:25:46 +0200 Subject: [Scilab-users] How can I make a movie that shows how the sphere rotates around the z-axis? In-Reply-To: <7170B02B-3DB9-4075-90DD-B2CD00946EE8@me.com> References: <611deabe-2b6c-a302-0b9a-2ff2aa143ea0@utc.fr> <4DCA0E27-FEEC-421F-B859-14F8048ECB7B@me.com> <7170B02B-3DB9-4075-90DD-B2CD00946EE8@me.com> Message-ID: <9a9beb60-ea67-a000-808e-c8e0e3930e6c@utc.fr> Heinz did you manage the offline install of animaGIF ? Le 02/07/2021 ? 23:03, Heinz Nabielek a ?crit?: > Thanks. The rotating graphics works well, but on my Mac with Scilab 6.1, already the first line "scicv_Init()" bumps... > What to do? > Heinz > > > >> On 02.07.2021, at 10:50, P M wrote: >> >> .... the rotation can be realised by changing "rotation_angles" in a for loop >> >> .. creating the movie...maybe use scicv? >> >> in a for loop >> - set rotation angle >> - display the graph >> - save the actual graph as an image >> - reload the image >> - add image to frame >> >> >> see code below: >> Only draw back here: the avi-file could not be played afterwards..and had only 6kB in size. >> >> I guess, this is because ffmpeg is missing on my PC, but I am pretty sure that some scicv expert could solve this issue. >> >> BR >> Philipp >> >> scicv_Init(); >> >> >> >> R=23; >> N=14500; >> >> >> r=grand(N,1,'unf',0,R); >> phi=grand(N,1,'unf',0,2*%pi); >> theta=grand(N,1,'unf',0,%pi); >> x=r.*cos(phi).*sin(theta); >> y=r.*sin(phi).*sin(theta); >> z=r.*cos(theta); >> >> >> >> f = figure(); >> f.background = 8; >> scatter3d(x,y,z,msizes=4); >> a = gca(); >> >> >> >> // create the avi file >> videoWriter = new_VideoWriter("F:\testAvi.avi", CV_FOURCC('M', 'P', '4', '2'), 25, [400, 400]); >> >> >> >> for i = 0:360 >> >> >> a.rotation_angles = [60, i]; >> >> >> >> // save the graph as image >> >> >> xs2png(f.figure_id, 'F:\testImg.bmp'); >> >> >> >> // read image >> >> >> img = imread('F:\testImg.png', CV_LOAD_IMAGE_GRAYSCALE); >> >> >> >> // add image as frame to avi >> >> >> VideoWriter_write(videoWriter, img); >> >> >> >> end >> >> >> >> // free avi from memory >> delete_VideoWriter(videoWriter); >> >> >> >> >> >> Am Fr., 2. Juli 2021 um 00:22 Uhr schrieb Heinz Nabielek : >> Colleagues: >> >> the code below generates 14,500 random points in a spherical volume. >> How can I make a movie that shows how the sphere rotates around the z-axis? And how do I store the animation? animaGIF does not exist on my Scilab 6.1 in my macOS 10.15.7 >> >> Heinz >> >> >> R=23; >> N=14500; >> r=grand(N,1,'unf',0,R); >> phi=grand(N,1,'unf',0,2*%pi); >> theta=grand(N,1,'unf',0,%pi); >> x=r.*cos(phi).*sin(theta); >> y=r.*sin(phi).*sin(theta); >> z=r.*cos(theta); >> scatter3d(x,y,z,msizes=4); >> gca().rotation_angles = [60, 60]; >> >> >> ______________ >> Dr Heinz Nabielek >> Sch?ttelstrasse 77A/11 >> A-1020 Wien, ?sterreich >> Tel +43 1 276 56 13 >> cell +43 677 616 349 22 >> heinznabielek at me.com >> _______________________________________________ >> 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 -- 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 heinznabielek at me.com Fri Jul 2 23:29:47 2021 From: heinznabielek at me.com (Heinz Nabielek) Date: Fri, 2 Jul 2021 23:29:47 +0200 Subject: [Scilab-users] How can I make a movie that shows how the sphere rotates around the z-axis? In-Reply-To: <9a9beb60-ea67-a000-808e-c8e0e3930e6c@utc.fr> References: <611deabe-2b6c-a302-0b9a-2ff2aa143ea0@utc.fr> <4DCA0E27-FEEC-421F-B859-14F8048ECB7B@me.com> <7170B02B-3DB9-4075-90DD-B2CD00946EE8@me.com> <9a9beb60-ea67-a000-808e-c8e0e3930e6c@utc.fr> Message-ID: No. How to do it? I have downloaded.... but then what? /Users/heinz/Downloads/animaGIF_1.0_61-bin -rw-rw-r--@ 1 heinz staff 1386 Feb 28 2020 DESCRIPTION -rw-rw-r--@ 1 heinz staff 407469 Jul 22 2019 animaGIF_1.0.pdf -rw-rw-r--@ 1 heinz staff 396 Jul 21 2019 changelog.txt drwxrwxr-x@ 3 heinz staff 96 Feb 28 2020 etc drwxrwxr-x@ 3 heinz staff 96 Feb 28 2020 jar -rw-rw-r--@ 1 heinz staff 22677 Jul 21 2019 license.txt -rw-rw-r--@ 1 heinz staff 594 Feb 28 2020 loader.sce drwxrwxr-x@ 6 heinz staff 192 Feb 28 2020 locales drwxrwxr-x@ 10 heinz staff 320 Feb 28 2020 macros -rw-rw-r--@ 1 heinz staff 539 Jul 21 2019 readme.txt drwxrwxr-x@ 5 heinz staff 160 Feb 28 2020 tests -rw-rw-r--@ 1 heinz staff 990 Feb 28 2020 unloader.sce > On 02.07.2021, at 23:25, St?phane Mottelet wrote: > > Heinz did you manage the offline install of animaGIF ? > > Le 02/07/2021 ? 23:03, Heinz Nabielek a ?crit : >> Thanks. The rotating graphics works well, but on my Mac with Scilab 6.1, already the first line "scicv_Init()" bumps... >> What to do? >> Heinz >> >> >> >>> On 02.07.2021, at 10:50, P M wrote: >>> >>> .... the rotation can be realised by changing "rotation_angles" in a for loop >>> >>> .. creating the movie...maybe use scicv? >>> >>> in a for loop >>> - set rotation angle >>> - display the graph >>> - save the actual graph as an image >>> - reload the image >>> - add image to frame >>> >>> >>> see code below: >>> Only draw back here: the avi-file could not be played afterwards..and had only 6kB in size. >>> >>> I guess, this is because ffmpeg is missing on my PC, but I am pretty sure that some scicv expert could solve this issue. >>> >>> BR >>> Philipp >>> >>> scicv_Init(); >>> >>> >>> >>> R=23; >>> N=14500; >>> >>> r=grand(N,1,'unf',0,R); >>> phi=grand(N,1,'unf',0,2*%pi); >>> theta=grand(N,1,'unf',0,%pi); >>> x=r.*cos(phi).*sin(theta); >>> y=r.*sin(phi).*sin(theta); >>> z=r.*cos(theta); >>> >>> >>> >>> f = figure(); >>> f.background = 8; >>> scatter3d(x,y,z,msizes=4); >>> a = gca(); >>> >>> >>> >>> // create the avi file >>> videoWriter = new_VideoWriter("F:\testAvi.avi", CV_FOURCC('M', 'P', '4', '2'), 25, [400, 400]); >>> >>> >>> >>> for i = 0:360 >>> >>> a.rotation_angles = [60, i]; >>> >>> // save the graph as image >>> >>> xs2png(f.figure_id, 'F:\testImg.bmp'); >>> >>> // read image >>> >>> img = imread('F:\testImg.png', CV_LOAD_IMAGE_GRAYSCALE); >>> >>> >>> // add image as frame to avi >>> >>> VideoWriter_write(videoWriter, img); >>> >>> >>> >>> end >>> >>> >>> >>> // free avi from memory >>> delete_VideoWriter(videoWriter); >>> >>> >>> >>> >>> >>> Am Fr., 2. Juli 2021 um 00:22 Uhr schrieb Heinz Nabielek : >>> Colleagues: >>> >>> the code below generates 14,500 random points in a spherical volume. >>> How can I make a movie that shows how the sphere rotates around the z-axis? And how do I store the animation? animaGIF does not exist on my Scilab 6.1 in my macOS 10.15.7 >>> >>> Heinz >>> >>> >>> R=23; >>> N=14500; >>> r=grand(N,1,'unf',0,R); >>> phi=grand(N,1,'unf',0,2*%pi); >>> theta=grand(N,1,'unf',0,%pi); >>> x=r.*cos(phi).*sin(theta); >>> y=r.*sin(phi).*sin(theta); >>> z=r.*cos(theta); >>> scatter3d(x,y,z,msizes=4); >>> gca().rotation_angles = [60, 60]; >>> >>> >>> ______________ >>> Dr Heinz Nabielek >>> Sch?ttelstrasse 77A/11 >>> A-1020 Wien, ?sterreich >>> Tel +43 1 276 56 13 >>> cell +43 677 616 349 22 >>> heinznabielek at me.com >>> _______________________________________________ >>> 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 > > -- > 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 at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From heinznabielek at me.com Mon Jul 5 00:27:17 2021 From: heinznabielek at me.com (Heinz Nabielek) Date: Mon, 5 Jul 2021 00:27:17 +0200 Subject: [Scilab-users] How can I make a movie that shows how the sphere rotates around the z-axis? In-Reply-To: <4DCA0E27-FEEC-421F-B859-14F8048ECB7B@me.com> References: <611deabe-2b6c-a302-0b9a-2ff2aa143ea0@utc.fr> <4DCA0E27-FEEC-421F-B859-14F8048ECB7B@me.com> Message-ID: <3FA3895D-14EA-4B94-A960-3B6508B33B1E@me.com> Thanks for all the help from the group and saving the animation works well. However [had somebody noticed?], there was an error in the statistical formulation to generate a uniform random point distribution within the sphere. The more correct (but perhaps clumsy) version is below. Heinz R=23; N=14500; nmax=1.1*6*N/%pi; // Random points in cube 2R*2R*2R x=grand(nmax,1,'unf',-R,R); y=grand(nmax,1,'unf',-R,R); z=grand(nmax,1,'unf',-R,R); R2=R*R; // Exclude points outside of sphere with radius R T=(x^2+y^2+z^2)>R2; M=[x y z]; M(T,:)=[]; [r c]=size(M); M(((N+1):r), :)=[]; x=M(:,1); y=M(:,2); z=M(:,3); f = figure(); f.background = 8; s = linspace(5, 1, N); scatter3d(x,y,z,msizes=1,s); a = gca(); outgif = "Sphere01.gif"; idGif = animaGIF(gcf(), outgif, ,2); for i = 20:60; a.rotation_angles = [45, i]; idGif = animaGIF(gcf(), idGif); // Adds the current figure to the GIF stream end; animaGIF(idGif); // Closes the GIF stream > On 02.07.2021, at 00:15, Heinz Nabielek wrote: > > Colleagues: > > the code below generates 14,500 random points in a spherical volume. > How can I make a movie that shows how the sphere rotates around the z-axis? And how do I store the animation? animaGIF does not exist on my Scilab 6.1 in my macOS 10.15.7 > > Heinz > > > R=23; > N=14500; > r=grand(N,1,'unf',0,R); > phi=grand(N,1,'unf',0,2*%pi); > theta=grand(N,1,'unf',0,%pi); > x=r.*cos(phi).*sin(theta); > y=r.*sin(phi).*sin(theta); > z=r.*cos(theta); > scatter3d(x,y,z,msizes=4); > gca().rotation_angles = [60, 60]; -------------- next part -------------- An HTML attachment was scrubbed... URL: From p.muehlmann at gmail.com Wed Jul 7 08:49:46 2021 From: p.muehlmann at gmail.com (P M) Date: Wed, 7 Jul 2021 08:49:46 +0200 Subject: [Scilab-users] Fwd: avoid auto-zoom when rotating a 3D graphic In-Reply-To: References: Message-ID: Dear, is it possible to avoid the effect of auto-zoom / streching when rotating a graph in 3D-view?...see result of attached code. My best guess is that one would have to set the a.margins according to the actual a.rotation_angles for each frame....but is there a easier way? Thank you, Philipp R=23;N=1000;nmax=1.1*6*N/%pi;// Random points in cube 2R*2R*2Rx=grand(nmax,1,'unf',-R,R);y=grand(nmax,1,'unf',-R,R);z=grand(nmax,1,'unf',-R,R);R2=R*R;// Exclude points outside of sphere with radius RT=(x^2+y^2+z^2)>R2;M=[x y z];M(T,:)=[];[r c]=size(M);M(((N+1):r), :)=[];x=M(:,1); y=M(:,2); z=M(:,3); f = figure();f.background = 8;f.axes_size = [300,300] s = linspace(5, 1, N);scatter3d(x,y,z,msizes=1,s);a = gca();a.box = "off";a.axes_visible = ["off","off","off"];a.x_label.visible = "off"a.y_label.visible = "off"a.z_label.visible = "off" outgif = "Sphere03.gif";idGif = animaGIF(gcf(), outgif, 1,2);for i = 0:360; a.rotation_angles = [45, i]; idGif = animaGIF(gcf(), idGif); // Adds the current figure to the GIF streamend;animaGIF(idGif); // Closes the GIF stream -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephane.mottelet at utc.fr Wed Jul 7 10:09:44 2021 From: stephane.mottelet at utc.fr (=?UTF-8?Q?St=c3=a9phane_Mottelet?=) Date: Wed, 7 Jul 2021 10:09:44 +0200 Subject: [Scilab-users] Fwd: avoid auto-zoom when rotating a 3D graphic In-Reply-To: References: Message-ID: <158a0e75-9454-0684-6527-5bdf1100bed7@utc.fr> Hello Philipp, The feature did exist until Scilab 5 family but was removed. S. Le 07/07/2021 ? 08:49, P M a ?crit?: > > Dear, > > is it possible to avoid the effect of auto-zoom / streching? when > rotating a graph in 3D-view?...see result of attached code. > > My best guess is that one would have to set the a.margins according to > the actual a.rotation_angles for each frame....but is there a easier way? > > Thank you, > Philipp > R=23; > N=1000; > nmax=1.1*6*N/%pi; > // Random points in cube 2R*2R*2R > x=grand(nmax,1,'unf',-R,R); > y=grand(nmax,1,'unf',-R,R); > z=grand(nmax,1,'unf',-R,R); > R2=R*R; > // Exclude points outside of sphere with radius R > T=(x^2+y^2+z^2)>R2; > M=[x y z]; > M(T,:)=[]; > [r c]=size(M); > M(((N+1):r), :)=[]; > x=M(:,1); y=M(:,2); z=M(:,3); > f = figure(); > f.background = 8; > f.axes_size = [300,300] > > s = linspace(5, 1, N); > scatter3d(x,y,z,msizes=1,s); > a = gca(); > a.box = "off"; > a.axes_visible = ["off","off","off"]; > a.x_label.visible = "off" > a.y_label.visible = "off" > a.z_label.visible = "off" > > outgif = "Sphere03.gif"; > idGif = animaGIF(gcf(), outgif, 1,2); > for i = 0:360; > a.rotation_angles = [45, i]; > idGif = animaGIF(gcf(), idGif); // Adds the current figure to the GIF stream > end; > animaGIF(idGif); // Closes the GIF stream > > > > > > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://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 stephane.mottelet at utc.fr Wed Jul 7 10:18:52 2021 From: stephane.mottelet at utc.fr (=?UTF-8?Q?St=c3=a9phane_Mottelet?=) Date: Wed, 7 Jul 2021 10:18:52 +0200 Subject: [Scilab-users] Fwd: avoid auto-zoom when rotating a 3D graphic In-Reply-To: References: Message-ID: <1d159fe0-97b0-097b-39aa-5af82426b51f@utc.fr> Philipp, you should at least add gc(a().isoview = "on" Le 07/07/2021 ? 08:49, P M a ?crit?: > > Dear, > > is it possible to avoid the effect of auto-zoom / streching? when > rotating a graph in 3D-view?...see result of attached code. > > My best guess is that one would have to set the a.margins according to > the actual a.rotation_angles for each frame....but is there a easier way? > > Thank you, > Philipp > R=23; > N=1000; > nmax=1.1*6*N/%pi; > // Random points in cube 2R*2R*2R > x=grand(nmax,1,'unf',-R,R); > y=grand(nmax,1,'unf',-R,R); > z=grand(nmax,1,'unf',-R,R); > R2=R*R; > // Exclude points outside of sphere with radius R > T=(x^2+y^2+z^2)>R2; > M=[x y z]; > M(T,:)=[]; > [r c]=size(M); > M(((N+1):r), :)=[]; > x=M(:,1); y=M(:,2); z=M(:,3); > f = figure(); > f.background = 8; > f.axes_size = [300,300] > > s = linspace(5, 1, N); > scatter3d(x,y,z,msizes=1,s); > a = gca(); > a.box = "off"; > a.axes_visible = ["off","off","off"]; > a.x_label.visible = "off" > a.y_label.visible = "off" > a.z_label.visible = "off" > > outgif = "Sphere03.gif"; > idGif = animaGIF(gcf(), outgif, 1,2); > for i = 0:360; > a.rotation_angles = [45, i]; > idGif = animaGIF(gcf(), idGif); // Adds the current figure to the GIF stream > end; > animaGIF(idGif); // Closes the GIF stream > > > > > > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://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 p.muehlmann at gmail.com Wed Jul 7 12:08:39 2021 From: p.muehlmann at gmail.com (P M) Date: Wed, 7 Jul 2021 12:08:39 +0200 Subject: [Scilab-users] Fwd: avoid auto-zoom when rotating a 3D graphic In-Reply-To: <1d159fe0-97b0-097b-39aa-5af82426b51f@utc.fr> References: <1d159fe0-97b0-097b-39aa-5af82426b51f@utc.fr> Message-ID: Hallo St?phane, I did play around with the settings for the following options...but nothing removed the auto-zooming effect...so I gave up. a = gca();a.isoview a.auto_margins a.auto_scale a.cube_scaling Out of curiosity: Why was the feature removed? Main question: How to reproduce the feature in Scilab 6 family? Thank you, Philipp Am Mi., 7. Juli 2021 um 10:19 Uhr schrieb St?phane Mottelet < stephane.mottelet at utc.fr>: > Philipp, you should at least add > > gc(a().isoview = "on" > > > Le 07/07/2021 ? 08:49, P M a ?crit : > > > Dear, > > is it possible to avoid the effect of auto-zoom / streching when rotating > a graph in 3D-view?...see result of attached code. > > My best guess is that one would have to set the a.margins according to > the actual a.rotation_angles for each frame....but is there a easier way? > > Thank you, > Philipp > > R=23;N=1000;nmax=1.1*6*N/%pi;// Random points in cube 2R*2R*2Rx=grand(nmax,1,'unf',-R,R);y=grand(nmax,1,'unf',-R,R);z=grand(nmax,1,'unf',-R,R);R2=R*R;// Exclude points outside of sphere with radius RT=(x^2+y^2+z^2)>R2;M=[x y z];M(T,:)=[];[r c]=size(M);M(((N+1):r), :)=[];x=M(:,1); y=M(:,2); z=M(:,3); f = figure();f.background = 8;f.axes_size = [300,300] > s = linspace(5, 1, N);scatter3d(x,y,z,msizes=1,s);a = gca();a.box = "off";a.axes_visible = ["off","off","off"];a.x_label.visible = "off"a.y_label.visible = "off"a.z_label.visible = "off" > outgif = "Sphere03.gif";idGif = animaGIF(gcf(), outgif, 1,2);for i = 0:360; > a.rotation_angles = [45, i]; > idGif = animaGIF(gcf(), idGif); // Adds the current figure to the GIF streamend;animaGIF(idGif); // Closes the GIF stream > > > > > > > > > > _______________________________________________ > users mailing listusers at lists.scilab.orghttp://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 at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rouxph.22 at gmail.com Wed Jul 7 14:21:49 2021 From: rouxph.22 at gmail.com (philippe) Date: Wed, 7 Jul 2021 14:21:49 +0200 Subject: [Scilab-users] scilab 6.1 and ubuntu 20.04 no graphics ? Message-ID: Hi to all, I've just upgraded from ubuntu 18.04 to 20.04, then I started scilab without problems but I can't obtain any graphics : => plot() or surf() open a withe graphic window with no display (but gcf() is okay ) => graphic window is never dockable (but dockable="on" in gcf() ) I've reinstalled the last scilab version but I get the same problem. I can't find informations about such a bug , have you any idea about this ? Best regards, Philippe Version information "Version de Scilab : 6.1.0.1582621796" "Syst?me d'exploitation : Linux 5.4.0-77-generic" "Version Java : 1.8.0_151" "Informations sur l'environnement d'ex?cution Java : Java(TM) SE Runtime Environment (build 1.8.0_151-b12)" "Informations sur la machine virtuelle Java : Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)" "Sp?cifications du fabricant : Oracle Corporation" From stephane.mottelet at utc.fr Wed Jul 7 14:37:38 2021 From: stephane.mottelet at utc.fr (=?UTF-8?Q?St=c3=a9phane_Mottelet?=) Date: Wed, 7 Jul 2021 14:37:38 +0200 Subject: [Scilab-users] scilab 6.1 and ubuntu 20.04 no graphics ? In-Reply-To: References: Message-ID: <71e7a944-fd83-209b-d864-cb8f3d8d6691@utc.fr> Hi, Please launch Scilab from the command line and give the (java) errors. However, AFAIK the ubuntu package is not supposed to work, please use the official .tar.gz archive from www.scilab.org S. Le 07/07/2021 ? 14:21, philippe a ?crit?: > Hi to all, > > I've just upgraded from ubuntu 18.04 to 20.04, then I started scilab > without problems but I can't obtain any graphics : > > => plot() or surf() open a withe graphic window with no display (but > gcf() is okay ) > => graphic window is never dockable (but dockable="on" in gcf() ) > > I've reinstalled the last scilab version but I get the same problem. I > can't find informations about such a bug , have you any idea about this ? > Best regards, > Philippe > > > Version information > "Version de Scilab : 6.1.0.1582621796" > > "Syst?me d'exploitation : Linux 5.4.0-77-generic" > > "Version Java : 1.8.0_151" > > "Informations sur l'environnement d'ex?cution Java : Java(TM) SE Runtime > Environment (build 1.8.0_151-b12)" > "Informations sur la machine virtuelle Java : Java HotSpot(TM) 64-Bit > Server VM (build 25.151-b12, mixed mode)" > "Sp?cifications du fabricant : Oracle Corporation" > > _______________________________________________ > users mailing list > users at lists.scilab.org > https://antispam.utc.fr/proxy/v3?i=SHV0Y1JZQjNyckJFa3dUQiblhF5YcUqtiWCaK_ri0kk&r=T0hnMlUyVEgwNmlmdHc1NTiGTQVgIg9a1MYkHb_GeosOO-jCQ_NnAucfYCLceioT&f=V3p0eFlQOUZ4czh2enpJS67gBdM2WVME2HqVPefA4FpGU6HeKhrEzrhzAHs-d_Wu&u=http%3A//lists.scilab.org/mailman/listinfo/users&k=ZVd0 -- 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 rouxph.22 at gmail.com Wed Jul 7 15:03:20 2021 From: rouxph.22 at gmail.com (philippe) Date: Wed, 7 Jul 2021 15:03:20 +0200 Subject: [Scilab-users] scilab 6.1 and ubuntu 20.04 no graphics ? In-Reply-To: <71e7a944-fd83-209b-d864-cb8f3d8d6691@utc.fr> References: <71e7a944-fd83-209b-d864-cb8f3d8d6691@utc.fr> Message-ID: Le 07/07/2021 ? 14:37, St?phane Mottelet a ?crit?: > Hi, > > Please launch Scilab from the command line and give the (java) errors. I've started scilab from command line (no errors in console) then launched the command "plot()" in the scilab console and get the erros reported at the end of this message. > However, AFAIK the ubuntu package is not supposed to work, please use > the official .tar.gz archive from www.scilab.org of course that's what I've done before sending my message. Thanks for your reply Philippe *****************errors after "plot()" command************************* Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: Caught GLException: Not a GL2 implementation on thread AWT-EventQueue-0 at javax.media.opengl.GLException.newGLException(GLException.java:75) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1311) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1131) at javax.media.opengl.awt.GLJPanel$OffscreenBackend.doPaintComponent(GLJPanel.java:2024) at javax.media.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:569) at javax.swing.JComponent.paint(JComponent.java:1056) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JViewport.paint(JViewport.java:728) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210) at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) at javax.swing.RepaintManager.paint(RepaintManager.java:1272) at javax.swing.JComponent._paintImmediately(JComponent.java:5158) at javax.swing.JComponent.paintImmediately(JComponent.java:4969) at javax.swing.RepaintManager$4.run(RepaintManager.java:831) at javax.swing.RepaintManager$4.run(RepaintManager.java:814) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Caused by: javax.media.opengl.GLException: Not a GL2 implementation at jogamp.opengl.gl4.GL4bcImpl.getGL2(GL4bcImpl.java:37071) at org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.getGl(Unknown Source) at org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.display(Unknown Source) at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:690) at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:672) at javax.media.opengl.awt.GLJPanel$Updater.display(GLJPanel.java:1408) at javax.media.opengl.awt.GLJPanel$9.run(GLJPanel.java:1483) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1277) ... 42 more Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: Caught GLException: Not a GL2 implementation on thread AWT-EventQueue-0 at javax.media.opengl.GLException.newGLException(GLException.java:75) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1311) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1131) at javax.media.opengl.awt.GLJPanel$OffscreenBackend.doPaintComponent(GLJPanel.java:2024) at javax.media.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:569) at javax.swing.JComponent.paint(JComponent.java:1056) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JViewport.paint(JViewport.java:728) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at org.scilab.modules.gui.bridge.tab.SwingScilabDockablePanel.paintChildren(Unknown Source) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at org.flexdock.docking.defaults.DefaultDockingPort.paint(DefaultDockingPort.java:1983) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5217) at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) at javax.swing.RepaintManager.paint(RepaintManager.java:1272) at javax.swing.JComponent.paint(JComponent.java:1042) at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39) at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:79) at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:116) at java.awt.Container.paint(Container.java:1975) at java.awt.Window.paint(Window.java:3904) at javax.swing.RepaintManager$4.run(RepaintManager.java:842) at javax.swing.RepaintManager$4.run(RepaintManager.java:814) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Caused by: javax.media.opengl.GLException: Not a GL2 implementation at jogamp.opengl.gl4.GL4bcImpl.getGL2(GL4bcImpl.java:37071) at org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.getGl(Unknown Source) at org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.display(Unknown Source) at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:690) at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:672) at javax.media.opengl.awt.GLJPanel$Updater.display(GLJPanel.java:1408) at javax.media.opengl.awt.GLJPanel$9.run(GLJPanel.java:1483) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1277) ... 58 more Exception in thread "Thread-5" javax.media.opengl.GLException: java.lang.reflect.InvocationTargetException at javax.media.opengl.awt.GLJPanel.display(GLJPanel.java:460) at org.scilab.modules.gui.bridge.canvas.SwingScilabCanvasImpl$SafeGLJPanel.display(Unknown Source) at org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas$CanvasAnimator.run(Unknown Source) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.reflect.InvocationTargetException at java.awt.EventQueue.invokeAndWait(EventQueue.java:1321) at java.awt.EventQueue.invokeAndWait(EventQueue.java:1296) at javax.media.opengl.awt.GLJPanel.display(GLJPanel.java:458) ... 3 more Caused by: javax.media.opengl.GLException: Caught GLException: Not a GL2 implementation on thread AWT-EventQueue-0 at javax.media.opengl.GLException.newGLException(GLException.java:75) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1311) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1131) at javax.media.opengl.awt.GLJPanel$OffscreenBackend.doPaintComponent(GLJPanel.java:2024) at javax.media.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:569) at javax.swing.JComponent.paint(JComponent.java:1056) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210) at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) at javax.swing.RepaintManager.paint(RepaintManager.java:1272) at javax.swing.JComponent._paintImmediately(JComponent.java:5158) at javax.swing.JComponent.paintImmediately(JComponent.java:4969) at javax.media.opengl.awt.GLJPanel$11.run(GLJPanel.java:1497) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Caused by: javax.media.opengl.GLException: Not a GL2 implementation at jogamp.opengl.gl4.GL4bcImpl.getGL2(GL4bcImpl.java:37071) at org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.getGl(Unknown Source) at org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.display(Unknown Source) at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:690) at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:672) at javax.media.opengl.awt.GLJPanel$Updater.display(GLJPanel.java:1408) at javax.media.opengl.awt.GLJPanel$9.run(GLJPanel.java:1483) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1277) ... 29 more Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: Caught GLException: Not a GL2 implementation on thread AWT-EventQueue-0 at javax.media.opengl.GLException.newGLException(GLException.java:75) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1311) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1131) at javax.media.opengl.awt.GLJPanel$OffscreenBackend.doPaintComponent(GLJPanel.java:2024) at javax.media.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:569) at javax.swing.JComponent.paint(JComponent.java:1056) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JViewport.paint(JViewport.java:728) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at org.scilab.modules.gui.bridge.tab.SwingScilabDockablePanel.paintChildren(Unknown Source) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at org.flexdock.docking.defaults.DefaultDockingPort.paint(DefaultDockingPort.java:1983) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5217) at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) at javax.swing.RepaintManager.paint(RepaintManager.java:1272) at javax.swing.JComponent.paint(JComponent.java:1042) at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39) at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:79) at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:116) at java.awt.Container.paint(Container.java:1975) at java.awt.Window.paint(Window.java:3904) at javax.swing.RepaintManager$4.run(RepaintManager.java:842) at javax.swing.RepaintManager$4.run(RepaintManager.java:814) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Caused by: javax.media.opengl.GLException: Not a GL2 implementation at jogamp.opengl.gl4.GL4bcImpl.getGL2(GL4bcImpl.java:37071) at org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.getGl(Unknown Source) at org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.display(Unknown Source) at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:690) at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:672) at javax.media.opengl.awt.GLJPanel$Updater.display(GLJPanel.java:1408) at javax.media.opengl.awt.GLJPanel$9.run(GLJPanel.java:1483) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1277) ... 58 more Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: Caught GLException: Not a GL2 implementation on thread AWT-EventQueue-0 at javax.media.opengl.GLException.newGLException(GLException.java:75) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1311) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1131) at javax.media.opengl.awt.GLJPanel$OffscreenBackend.doPaintComponent(GLJPanel.java:2024) at javax.media.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:569) at javax.swing.JComponent.paint(JComponent.java:1056) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JViewport.paint(JViewport.java:728) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at org.scilab.modules.gui.bridge.tab.SwingScilabDockablePanel.paintChildren(Unknown Source) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at org.flexdock.docking.defaults.DefaultDockingPort.paint(DefaultDockingPort.java:1983) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5217) at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) at javax.swing.RepaintManager.paint(RepaintManager.java:1272) at javax.swing.JComponent.paint(JComponent.java:1042) at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39) at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:79) at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:116) at java.awt.Container.paint(Container.java:1975) at java.awt.Window.paint(Window.java:3904) at javax.swing.RepaintManager$4.run(RepaintManager.java:842) at javax.swing.RepaintManager$4.run(RepaintManager.java:814) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Caused by: javax.media.opengl.GLException: Not a GL2 implementation at jogamp.opengl.gl4.GL4bcImpl.getGL2(GL4bcImpl.java:37071) at org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.getGl(Unknown Source) at org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.display(Unknown Source) at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:690) at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:672) at javax.media.opengl.awt.GLJPanel$Updater.display(GLJPanel.java:1408) at javax.media.opengl.awt.GLJPanel$9.run(GLJPanel.java:1483) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1277) ... 58 more Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: Caught GLException: Not a GL2 implementation on thread AWT-EventQueue-0 at javax.media.opengl.GLException.newGLException(GLException.java:75) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1311) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1131) at javax.media.opengl.awt.GLJPanel$OffscreenBackend.doPaintComponent(GLJPanel.java:2024) at javax.media.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:569) at javax.swing.JComponent.paint(JComponent.java:1056) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JViewport.paint(JViewport.java:728) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at org.scilab.modules.gui.bridge.tab.SwingScilabDockablePanel.paintChildren(Unknown Source) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at org.flexdock.docking.defaults.DefaultDockingPort.paint(DefaultDockingPort.java:1983) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5217) at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) at javax.swing.RepaintManager.paint(RepaintManager.java:1272) at javax.swing.JComponent.paint(JComponent.java:1042) at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39) at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:79) at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:116) at java.awt.Container.paint(Container.java:1975) at java.awt.Window.paint(Window.java:3904) at javax.swing.RepaintManager$4.run(RepaintManager.java:842) at javax.swing.RepaintManager$4.run(RepaintManager.java:814) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Caused by: javax.media.opengl.GLException: Not a GL2 implementation at jogamp.opengl.gl4.GL4bcImpl.getGL2(GL4bcImpl.java:37071) at org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.getGl(Unknown Source) at org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.display(Unknown Source) at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:690) at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:672) at javax.media.opengl.awt.GLJPanel$Updater.display(GLJPanel.java:1408) at javax.media.opengl.awt.GLJPanel$9.run(GLJPanel.java:1483) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1277) ... 58 more Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: Caught GLException: Not a GL2 implementation on thread AWT-EventQueue-0 at javax.media.opengl.GLException.newGLException(GLException.java:75) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1311) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1131) at javax.media.opengl.awt.GLJPanel$OffscreenBackend.doPaintComponent(GLJPanel.java:2024) at javax.media.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:569) at javax.swing.JComponent.paint(JComponent.java:1056) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JViewport.paint(JViewport.java:728) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at org.scilab.modules.gui.bridge.tab.SwingScilabDockablePanel.paintChildren(Unknown Source) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at org.flexdock.docking.defaults.DefaultDockingPort.paint(DefaultDockingPort.java:1983) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5217) at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) at javax.swing.RepaintManager.paint(RepaintManager.java:1272) at javax.swing.JComponent.paint(JComponent.java:1042) at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39) at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:79) at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:116) at java.awt.Container.paint(Container.java:1975) at java.awt.Window.paint(Window.java:3904) at javax.swing.RepaintManager$4.run(RepaintManager.java:842) at javax.swing.RepaintManager$4.run(RepaintManager.java:814) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Caused by: javax.media.opengl.GLException: Not a GL2 implementation at jogamp.opengl.gl4.GL4bcImpl.getGL2(GL4bcImpl.java:37071) at org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.getGl(Unknown Source) at org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.display(Unknown Source) at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:690) at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:672) at javax.media.opengl.awt.GLJPanel$Updater.display(GLJPanel.java:1408) at javax.media.opengl.awt.GLJPanel$9.run(GLJPanel.java:1483) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1277) ... 58 more Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: Caught GLException: Not a GL2 implementation on thread AWT-EventQueue-0 at javax.media.opengl.GLException.newGLException(GLException.java:75) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1311) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1131) at javax.media.opengl.awt.GLJPanel$OffscreenBackend.doPaintComponent(GLJPanel.java:2024) at javax.media.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:569) at javax.swing.JComponent.paint(JComponent.java:1056) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JViewport.paint(JViewport.java:728) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at org.scilab.modules.gui.bridge.tab.SwingScilabDockablePanel.paintChildren(Unknown Source) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at org.flexdock.docking.defaults.DefaultDockingPort.paint(DefaultDockingPort.java:1983) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5217) at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) at javax.swing.RepaintManager.paint(RepaintManager.java:1272) at javax.swing.JComponent.paint(JComponent.java:1042) at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39) at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:79) at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:116) at java.awt.Container.paint(Container.java:1975) at java.awt.Window.paint(Window.java:3904) at javax.swing.RepaintManager$4.run(RepaintManager.java:842) at javax.swing.RepaintManager$4.run(RepaintManager.java:814) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Caused by: javax.media.opengl.GLException: Not a GL2 implementation at jogamp.opengl.gl4.GL4bcImpl.getGL2(GL4bcImpl.java:37071) at org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.getGl(Unknown Source) at org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.display(Unknown Source) at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:690) at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:672) at javax.media.opengl.awt.GLJPanel$Updater.display(GLJPanel.java:1408) at javax.media.opengl.awt.GLJPanel$9.run(GLJPanel.java:1483) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1277) ... 58 more From rouxph.22 at gmail.com Wed Jul 7 16:41:49 2021 From: rouxph.22 at gmail.com (philippe) Date: Wed, 7 Jul 2021 16:41:49 +0200 Subject: [Scilab-users] scilab 6.1 and ubuntu 20.04 no graphics ? In-Reply-To: References: <71e7a944-fd83-209b-d864-cb8f3d8d6691@utc.fr> Message-ID: the problem affect in the same way the lastest version 6.1.0 and 6.0.2 I've on my latop (both installed from official .tar.gz archive) Philippe Le 07/07/2021 ? 15:03, philippe a ?crit?: > Le 07/07/2021 ? 14:37, St?phane Mottelet a ?crit?: >> Hi, >> >> Please launch Scilab from the command line and give the (java) errors. > > I've started scilab from command line (no errors in console) > then launched the command "plot()" in the scilab console and get the > erros reported at the end of this message. > >> However, AFAIK the ubuntu package is not supposed to work, please use >> the official .tar.gz archive from www.scilab.org > > of course that's what I've done before sending my message. > > Thanks for your reply > Philippe > > *****************errors after "plot()" command************************* > Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: > Caught GLException: Not a GL2 implementation on thread AWT-EventQueue-0 > at javax.media.opengl.GLException.newGLException(GLException.java:75) > at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1311) > at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1131) > at > javax.media.opengl.awt.GLJPanel$OffscreenBackend.doPaintComponent(GLJPanel.java:2024) > at javax.media.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:569) > at javax.swing.JComponent.paint(JComponent.java:1056) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JViewport.paint(JViewport.java:728) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210) > at > javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) > at javax.swing.RepaintManager.paint(RepaintManager.java:1272) > at javax.swing.JComponent._paintImmediately(JComponent.java:5158) > at javax.swing.JComponent.paintImmediately(JComponent.java:4969) > at javax.swing.RepaintManager$4.run(RepaintManager.java:831) > at javax.swing.RepaintManager$4.run(RepaintManager.java:814) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) > at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) > at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) > at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) > at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) > at > javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) > at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) > at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) > at java.awt.EventQueue.access$500(EventQueue.java:97) > at java.awt.EventQueue$3.run(EventQueue.java:709) > at java.awt.EventQueue$3.run(EventQueue.java:703) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) > at > java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) > at > java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) > at > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) > Caused by: javax.media.opengl.GLException: Not a GL2 implementation > at jogamp.opengl.gl4.GL4bcImpl.getGL2(GL4bcImpl.java:37071) > at > org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.getGl(Unknown Source) > at > org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.display(Unknown > Source) > at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:690) > at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:672) > at javax.media.opengl.awt.GLJPanel$Updater.display(GLJPanel.java:1408) > at javax.media.opengl.awt.GLJPanel$9.run(GLJPanel.java:1483) > at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1277) > ... 42 more > Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: > Caught GLException: Not a GL2 implementation on thread AWT-EventQueue-0 > at javax.media.opengl.GLException.newGLException(GLException.java:75) > at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1311) > at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1131) > at > javax.media.opengl.awt.GLJPanel$OffscreenBackend.doPaintComponent(GLJPanel.java:2024) > at javax.media.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:569) > at javax.swing.JComponent.paint(JComponent.java:1056) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JViewport.paint(JViewport.java:728) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at > org.scilab.modules.gui.bridge.tab.SwingScilabDockablePanel.paintChildren(Unknown > Source) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at > org.flexdock.docking.defaults.DefaultDockingPort.paint(DefaultDockingPort.java:1983) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paintToOffscreen(JComponent.java:5217) > at > javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) > at javax.swing.RepaintManager.paint(RepaintManager.java:1272) > at javax.swing.JComponent.paint(JComponent.java:1042) > at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39) > at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:79) > at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:116) > at java.awt.Container.paint(Container.java:1975) > at java.awt.Window.paint(Window.java:3904) > at javax.swing.RepaintManager$4.run(RepaintManager.java:842) > at javax.swing.RepaintManager$4.run(RepaintManager.java:814) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) > at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) > at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) > at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) > at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) > at > javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) > at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) > at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) > at java.awt.EventQueue.access$500(EventQueue.java:97) > at java.awt.EventQueue$3.run(EventQueue.java:709) > at java.awt.EventQueue$3.run(EventQueue.java:703) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) > at > java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) > at > java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) > at > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) > Caused by: javax.media.opengl.GLException: Not a GL2 implementation > at jogamp.opengl.gl4.GL4bcImpl.getGL2(GL4bcImpl.java:37071) > at > org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.getGl(Unknown Source) > at > org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.display(Unknown > Source) > at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:690) > at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:672) > at javax.media.opengl.awt.GLJPanel$Updater.display(GLJPanel.java:1408) > at javax.media.opengl.awt.GLJPanel$9.run(GLJPanel.java:1483) > at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1277) > ... 58 more > Exception in thread "Thread-5" javax.media.opengl.GLException: > java.lang.reflect.InvocationTargetException > at javax.media.opengl.awt.GLJPanel.display(GLJPanel.java:460) > at > org.scilab.modules.gui.bridge.canvas.SwingScilabCanvasImpl$SafeGLJPanel.display(Unknown > Source) > at > org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas$CanvasAnimator.run(Unknown > Source) > at java.lang.Thread.run(Thread.java:748) > Caused by: java.lang.reflect.InvocationTargetException > at java.awt.EventQueue.invokeAndWait(EventQueue.java:1321) > at java.awt.EventQueue.invokeAndWait(EventQueue.java:1296) > at javax.media.opengl.awt.GLJPanel.display(GLJPanel.java:458) > ... 3 more > Caused by: javax.media.opengl.GLException: Caught GLException: Not a GL2 > implementation on thread AWT-EventQueue-0 > at javax.media.opengl.GLException.newGLException(GLException.java:75) > at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1311) > at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1131) > at > javax.media.opengl.awt.GLJPanel$OffscreenBackend.doPaintComponent(GLJPanel.java:2024) > at javax.media.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:569) > at javax.swing.JComponent.paint(JComponent.java:1056) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) > at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210) > at > javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) > at javax.swing.RepaintManager.paint(RepaintManager.java:1272) > at javax.swing.JComponent._paintImmediately(JComponent.java:5158) > at javax.swing.JComponent.paintImmediately(JComponent.java:4969) > at javax.media.opengl.awt.GLJPanel$11.run(GLJPanel.java:1497) > at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301) > at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) > at java.awt.EventQueue.access$500(EventQueue.java:97) > at java.awt.EventQueue$3.run(EventQueue.java:709) > at java.awt.EventQueue$3.run(EventQueue.java:703) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) > at > java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) > at > java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) > at > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) > Caused by: javax.media.opengl.GLException: Not a GL2 implementation > at jogamp.opengl.gl4.GL4bcImpl.getGL2(GL4bcImpl.java:37071) > at > org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.getGl(Unknown Source) > at > org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.display(Unknown > Source) > at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:690) > at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:672) > at javax.media.opengl.awt.GLJPanel$Updater.display(GLJPanel.java:1408) > at javax.media.opengl.awt.GLJPanel$9.run(GLJPanel.java:1483) > at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1277) > ... 29 more > Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: > Caught GLException: Not a GL2 implementation on thread AWT-EventQueue-0 > at javax.media.opengl.GLException.newGLException(GLException.java:75) > at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1311) > at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1131) > at > javax.media.opengl.awt.GLJPanel$OffscreenBackend.doPaintComponent(GLJPanel.java:2024) > at javax.media.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:569) > at javax.swing.JComponent.paint(JComponent.java:1056) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JViewport.paint(JViewport.java:728) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at > org.scilab.modules.gui.bridge.tab.SwingScilabDockablePanel.paintChildren(Unknown > Source) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at > org.flexdock.docking.defaults.DefaultDockingPort.paint(DefaultDockingPort.java:1983) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paintToOffscreen(JComponent.java:5217) > at > javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) > at javax.swing.RepaintManager.paint(RepaintManager.java:1272) > at javax.swing.JComponent.paint(JComponent.java:1042) > at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39) > at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:79) > at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:116) > at java.awt.Container.paint(Container.java:1975) > at java.awt.Window.paint(Window.java:3904) > at javax.swing.RepaintManager$4.run(RepaintManager.java:842) > at javax.swing.RepaintManager$4.run(RepaintManager.java:814) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) > at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) > at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) > at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) > at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) > at > javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) > at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) > at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) > at java.awt.EventQueue.access$500(EventQueue.java:97) > at java.awt.EventQueue$3.run(EventQueue.java:709) > at java.awt.EventQueue$3.run(EventQueue.java:703) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) > at > java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) > at > java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) > at > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) > Caused by: javax.media.opengl.GLException: Not a GL2 implementation > at jogamp.opengl.gl4.GL4bcImpl.getGL2(GL4bcImpl.java:37071) > at > org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.getGl(Unknown Source) > at > org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.display(Unknown > Source) > at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:690) > at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:672) > at javax.media.opengl.awt.GLJPanel$Updater.display(GLJPanel.java:1408) > at javax.media.opengl.awt.GLJPanel$9.run(GLJPanel.java:1483) > at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1277) > ... 58 more > Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: > Caught GLException: Not a GL2 implementation on thread AWT-EventQueue-0 > at javax.media.opengl.GLException.newGLException(GLException.java:75) > at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1311) > at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1131) > at > javax.media.opengl.awt.GLJPanel$OffscreenBackend.doPaintComponent(GLJPanel.java:2024) > at javax.media.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:569) > at javax.swing.JComponent.paint(JComponent.java:1056) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JViewport.paint(JViewport.java:728) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at > org.scilab.modules.gui.bridge.tab.SwingScilabDockablePanel.paintChildren(Unknown > Source) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at > org.flexdock.docking.defaults.DefaultDockingPort.paint(DefaultDockingPort.java:1983) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paintToOffscreen(JComponent.java:5217) > at > javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) > at javax.swing.RepaintManager.paint(RepaintManager.java:1272) > at javax.swing.JComponent.paint(JComponent.java:1042) > at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39) > at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:79) > at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:116) > at java.awt.Container.paint(Container.java:1975) > at java.awt.Window.paint(Window.java:3904) > at javax.swing.RepaintManager$4.run(RepaintManager.java:842) > at javax.swing.RepaintManager$4.run(RepaintManager.java:814) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) > at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) > at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) > at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) > at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) > at > javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) > at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) > at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) > at java.awt.EventQueue.access$500(EventQueue.java:97) > at java.awt.EventQueue$3.run(EventQueue.java:709) > at java.awt.EventQueue$3.run(EventQueue.java:703) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) > at > java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) > at > java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) > at > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) > Caused by: javax.media.opengl.GLException: Not a GL2 implementation > at jogamp.opengl.gl4.GL4bcImpl.getGL2(GL4bcImpl.java:37071) > at > org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.getGl(Unknown Source) > at > org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.display(Unknown > Source) > at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:690) > at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:672) > at javax.media.opengl.awt.GLJPanel$Updater.display(GLJPanel.java:1408) > at javax.media.opengl.awt.GLJPanel$9.run(GLJPanel.java:1483) > at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1277) > ... 58 more > Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: > Caught GLException: Not a GL2 implementation on thread AWT-EventQueue-0 > at javax.media.opengl.GLException.newGLException(GLException.java:75) > at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1311) > at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1131) > at > javax.media.opengl.awt.GLJPanel$OffscreenBackend.doPaintComponent(GLJPanel.java:2024) > at javax.media.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:569) > at javax.swing.JComponent.paint(JComponent.java:1056) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JViewport.paint(JViewport.java:728) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at > org.scilab.modules.gui.bridge.tab.SwingScilabDockablePanel.paintChildren(Unknown > Source) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at > org.flexdock.docking.defaults.DefaultDockingPort.paint(DefaultDockingPort.java:1983) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paintToOffscreen(JComponent.java:5217) > at > javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) > at javax.swing.RepaintManager.paint(RepaintManager.java:1272) > at javax.swing.JComponent.paint(JComponent.java:1042) > at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39) > at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:79) > at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:116) > at java.awt.Container.paint(Container.java:1975) > at java.awt.Window.paint(Window.java:3904) > at javax.swing.RepaintManager$4.run(RepaintManager.java:842) > at javax.swing.RepaintManager$4.run(RepaintManager.java:814) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) > at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) > at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) > at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) > at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) > at > javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) > at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) > at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) > at java.awt.EventQueue.access$500(EventQueue.java:97) > at java.awt.EventQueue$3.run(EventQueue.java:709) > at java.awt.EventQueue$3.run(EventQueue.java:703) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) > at > java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) > at > java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) > at > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) > Caused by: javax.media.opengl.GLException: Not a GL2 implementation > at jogamp.opengl.gl4.GL4bcImpl.getGL2(GL4bcImpl.java:37071) > at > org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.getGl(Unknown Source) > at > org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.display(Unknown > Source) > at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:690) > at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:672) > at javax.media.opengl.awt.GLJPanel$Updater.display(GLJPanel.java:1408) > at javax.media.opengl.awt.GLJPanel$9.run(GLJPanel.java:1483) > at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1277) > ... 58 more > Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: > Caught GLException: Not a GL2 implementation on thread AWT-EventQueue-0 > at javax.media.opengl.GLException.newGLException(GLException.java:75) > at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1311) > at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1131) > at > javax.media.opengl.awt.GLJPanel$OffscreenBackend.doPaintComponent(GLJPanel.java:2024) > at javax.media.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:569) > at javax.swing.JComponent.paint(JComponent.java:1056) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JViewport.paint(JViewport.java:728) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at > org.scilab.modules.gui.bridge.tab.SwingScilabDockablePanel.paintChildren(Unknown > Source) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at > org.flexdock.docking.defaults.DefaultDockingPort.paint(DefaultDockingPort.java:1983) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paintToOffscreen(JComponent.java:5217) > at > javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) > at javax.swing.RepaintManager.paint(RepaintManager.java:1272) > at javax.swing.JComponent.paint(JComponent.java:1042) > at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39) > at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:79) > at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:116) > at java.awt.Container.paint(Container.java:1975) > at java.awt.Window.paint(Window.java:3904) > at javax.swing.RepaintManager$4.run(RepaintManager.java:842) > at javax.swing.RepaintManager$4.run(RepaintManager.java:814) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) > at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) > at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) > at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) > at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) > at > javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) > at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) > at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) > at java.awt.EventQueue.access$500(EventQueue.java:97) > at java.awt.EventQueue$3.run(EventQueue.java:709) > at java.awt.EventQueue$3.run(EventQueue.java:703) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) > at > java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) > at > java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) > at > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) > Caused by: javax.media.opengl.GLException: Not a GL2 implementation > at jogamp.opengl.gl4.GL4bcImpl.getGL2(GL4bcImpl.java:37071) > at > org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.getGl(Unknown Source) > at > org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.display(Unknown > Source) > at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:690) > at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:672) > at javax.media.opengl.awt.GLJPanel$Updater.display(GLJPanel.java:1408) > at javax.media.opengl.awt.GLJPanel$9.run(GLJPanel.java:1483) > at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1277) > ... 58 more > Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: > Caught GLException: Not a GL2 implementation on thread AWT-EventQueue-0 > at javax.media.opengl.GLException.newGLException(GLException.java:75) > at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1311) > at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1131) > at > javax.media.opengl.awt.GLJPanel$OffscreenBackend.doPaintComponent(GLJPanel.java:2024) > at javax.media.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:569) > at javax.swing.JComponent.paint(JComponent.java:1056) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JViewport.paint(JViewport.java:728) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at > org.scilab.modules.gui.bridge.tab.SwingScilabDockablePanel.paintChildren(Unknown > Source) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at > org.flexdock.docking.defaults.DefaultDockingPort.paint(DefaultDockingPort.java:1983) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paint(JComponent.java:1065) > at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) > at javax.swing.JComponent.paintChildren(JComponent.java:889) > at javax.swing.JComponent.paintToOffscreen(JComponent.java:5217) > at > javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) > at javax.swing.RepaintManager.paint(RepaintManager.java:1272) > at javax.swing.JComponent.paint(JComponent.java:1042) > at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39) > at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:79) > at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:116) > at java.awt.Container.paint(Container.java:1975) > at java.awt.Window.paint(Window.java:3904) > at javax.swing.RepaintManager$4.run(RepaintManager.java:842) > at javax.swing.RepaintManager$4.run(RepaintManager.java:814) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) > at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) > at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) > at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) > at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) > at > javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) > at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) > at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) > at java.awt.EventQueue.access$500(EventQueue.java:97) > at java.awt.EventQueue$3.run(EventQueue.java:709) > at java.awt.EventQueue$3.run(EventQueue.java:703) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) > at > java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) > at > java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) > at > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) > Caused by: javax.media.opengl.GLException: Not a GL2 implementation > at jogamp.opengl.gl4.GL4bcImpl.getGL2(GL4bcImpl.java:37071) > at > org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.getGl(Unknown Source) > at > org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.display(Unknown > Source) > at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:690) > at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:672) > at javax.media.opengl.awt.GLJPanel$Updater.display(GLJPanel.java:1408) > at javax.media.opengl.awt.GLJPanel$9.run(GLJPanel.java:1483) > at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1277) > ... 58 more > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From stephane.mottelet at utc.fr Wed Jul 7 16:49:17 2021 From: stephane.mottelet at utc.fr (=?UTF-8?Q?St=c3=a9phane_Mottelet?=) Date: Wed, 7 Jul 2021 16:49:17 +0200 Subject: [Scilab-users] scilab 6.1 and ubuntu 20.04 no graphics ? In-Reply-To: References: <71e7a944-fd83-209b-d864-cb8f3d8d6691@utc.fr> Message-ID: Can you test : LIBGL_ALWAYS_SOFTWARE=1 bin/scilab from within scilab installation folder, then plot something ? S. Le 07/07/2021 ? 16:41, philippe a ?crit?: > the problem affect in the same way the lastest version 6.1.0 and 6.0.2 > I've on my latop (both installed from official .tar.gz archive) > Philippe > > Le 07/07/2021 ? 15:03, philippe a ?crit?: >> Le 07/07/2021 ? 14:37, St?phane Mottelet a ?crit?: >>> Hi, >>> >>> Please launch Scilab from the command line and give the (java) errors. >> I've started scilab from command line (no errors in console) >> then launched the command "plot()" in the scilab console and get the >> erros reported at the end of this message. >> >>> However, AFAIK the ubuntu package is not supposed to work, please use >>> the official .tar.gz archive from www.scilab.org >> of course that's what I've done before sending my message. >> >> Thanks for your reply >> Philippe >> >> *****************errors after "plot()" command************************* >> Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: >> Caught GLException: Not a GL2 implementation on thread AWT-EventQueue-0 >> at javax.media.opengl.GLException.newGLException(GLException.java:75) >> at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1311) >> at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1131) >> at >> javax.media.opengl.awt.GLJPanel$OffscreenBackend.doPaintComponent(GLJPanel.java:2024) >> at javax.media.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:569) >> at javax.swing.JComponent.paint(JComponent.java:1056) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JViewport.paint(JViewport.java:728) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210) >> at >> javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) >> at javax.swing.RepaintManager.paint(RepaintManager.java:1272) >> at javax.swing.JComponent._paintImmediately(JComponent.java:5158) >> at javax.swing.JComponent.paintImmediately(JComponent.java:4969) >> at javax.swing.RepaintManager$4.run(RepaintManager.java:831) >> at javax.swing.RepaintManager$4.run(RepaintManager.java:814) >> at java.security.AccessController.doPrivileged(Native Method) >> at >> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) >> at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) >> at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) >> at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) >> at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) >> at >> javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) >> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) >> at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) >> at java.awt.EventQueue.access$500(EventQueue.java:97) >> at java.awt.EventQueue$3.run(EventQueue.java:709) >> at java.awt.EventQueue$3.run(EventQueue.java:703) >> at java.security.AccessController.doPrivileged(Native Method) >> at >> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) >> at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) >> at >> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) >> at >> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) >> at >> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) >> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) >> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) >> at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) >> Caused by: javax.media.opengl.GLException: Not a GL2 implementation >> at jogamp.opengl.gl4.GL4bcImpl.getGL2(GL4bcImpl.java:37071) >> at >> org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.getGl(Unknown Source) >> at >> org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.display(Unknown >> Source) >> at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:690) >> at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:672) >> at javax.media.opengl.awt.GLJPanel$Updater.display(GLJPanel.java:1408) >> at javax.media.opengl.awt.GLJPanel$9.run(GLJPanel.java:1483) >> at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1277) >> ... 42 more >> Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: >> Caught GLException: Not a GL2 implementation on thread AWT-EventQueue-0 >> at javax.media.opengl.GLException.newGLException(GLException.java:75) >> at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1311) >> at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1131) >> at >> javax.media.opengl.awt.GLJPanel$OffscreenBackend.doPaintComponent(GLJPanel.java:2024) >> at javax.media.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:569) >> at javax.swing.JComponent.paint(JComponent.java:1056) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JViewport.paint(JViewport.java:728) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at >> org.scilab.modules.gui.bridge.tab.SwingScilabDockablePanel.paintChildren(Unknown >> Source) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at >> org.flexdock.docking.defaults.DefaultDockingPort.paint(DefaultDockingPort.java:1983) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paintToOffscreen(JComponent.java:5217) >> at >> javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) >> at javax.swing.RepaintManager.paint(RepaintManager.java:1272) >> at javax.swing.JComponent.paint(JComponent.java:1042) >> at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39) >> at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:79) >> at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:116) >> at java.awt.Container.paint(Container.java:1975) >> at java.awt.Window.paint(Window.java:3904) >> at javax.swing.RepaintManager$4.run(RepaintManager.java:842) >> at javax.swing.RepaintManager$4.run(RepaintManager.java:814) >> at java.security.AccessController.doPrivileged(Native Method) >> at >> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) >> at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) >> at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) >> at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) >> at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) >> at >> javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) >> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) >> at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) >> at java.awt.EventQueue.access$500(EventQueue.java:97) >> at java.awt.EventQueue$3.run(EventQueue.java:709) >> at java.awt.EventQueue$3.run(EventQueue.java:703) >> at java.security.AccessController.doPrivileged(Native Method) >> at >> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) >> at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) >> at >> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) >> at >> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) >> at >> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) >> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) >> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) >> at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) >> Caused by: javax.media.opengl.GLException: Not a GL2 implementation >> at jogamp.opengl.gl4.GL4bcImpl.getGL2(GL4bcImpl.java:37071) >> at >> org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.getGl(Unknown Source) >> at >> org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.display(Unknown >> Source) >> at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:690) >> at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:672) >> at javax.media.opengl.awt.GLJPanel$Updater.display(GLJPanel.java:1408) >> at javax.media.opengl.awt.GLJPanel$9.run(GLJPanel.java:1483) >> at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1277) >> ... 58 more >> Exception in thread "Thread-5" javax.media.opengl.GLException: >> java.lang.reflect.InvocationTargetException >> at javax.media.opengl.awt.GLJPanel.display(GLJPanel.java:460) >> at >> org.scilab.modules.gui.bridge.canvas.SwingScilabCanvasImpl$SafeGLJPanel.display(Unknown >> Source) >> at >> org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas$CanvasAnimator.run(Unknown >> Source) >> at java.lang.Thread.run(Thread.java:748) >> Caused by: java.lang.reflect.InvocationTargetException >> at java.awt.EventQueue.invokeAndWait(EventQueue.java:1321) >> at java.awt.EventQueue.invokeAndWait(EventQueue.java:1296) >> at javax.media.opengl.awt.GLJPanel.display(GLJPanel.java:458) >> ... 3 more >> Caused by: javax.media.opengl.GLException: Caught GLException: Not a GL2 >> implementation on thread AWT-EventQueue-0 >> at javax.media.opengl.GLException.newGLException(GLException.java:75) >> at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1311) >> at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1131) >> at >> javax.media.opengl.awt.GLJPanel$OffscreenBackend.doPaintComponent(GLJPanel.java:2024) >> at javax.media.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:569) >> at javax.swing.JComponent.paint(JComponent.java:1056) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) >> at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210) >> at >> javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) >> at javax.swing.RepaintManager.paint(RepaintManager.java:1272) >> at javax.swing.JComponent._paintImmediately(JComponent.java:5158) >> at javax.swing.JComponent.paintImmediately(JComponent.java:4969) >> at javax.media.opengl.awt.GLJPanel$11.run(GLJPanel.java:1497) >> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301) >> at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) >> at java.awt.EventQueue.access$500(EventQueue.java:97) >> at java.awt.EventQueue$3.run(EventQueue.java:709) >> at java.awt.EventQueue$3.run(EventQueue.java:703) >> at java.security.AccessController.doPrivileged(Native Method) >> at >> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) >> at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) >> at >> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) >> at >> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) >> at >> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) >> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) >> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) >> at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) >> Caused by: javax.media.opengl.GLException: Not a GL2 implementation >> at jogamp.opengl.gl4.GL4bcImpl.getGL2(GL4bcImpl.java:37071) >> at >> org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.getGl(Unknown Source) >> at >> org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.display(Unknown >> Source) >> at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:690) >> at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:672) >> at javax.media.opengl.awt.GLJPanel$Updater.display(GLJPanel.java:1408) >> at javax.media.opengl.awt.GLJPanel$9.run(GLJPanel.java:1483) >> at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1277) >> ... 29 more >> Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: >> Caught GLException: Not a GL2 implementation on thread AWT-EventQueue-0 >> at javax.media.opengl.GLException.newGLException(GLException.java:75) >> at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1311) >> at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1131) >> at >> javax.media.opengl.awt.GLJPanel$OffscreenBackend.doPaintComponent(GLJPanel.java:2024) >> at javax.media.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:569) >> at javax.swing.JComponent.paint(JComponent.java:1056) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JViewport.paint(JViewport.java:728) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at >> org.scilab.modules.gui.bridge.tab.SwingScilabDockablePanel.paintChildren(Unknown >> Source) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at >> org.flexdock.docking.defaults.DefaultDockingPort.paint(DefaultDockingPort.java:1983) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paintToOffscreen(JComponent.java:5217) >> at >> javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) >> at javax.swing.RepaintManager.paint(RepaintManager.java:1272) >> at javax.swing.JComponent.paint(JComponent.java:1042) >> at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39) >> at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:79) >> at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:116) >> at java.awt.Container.paint(Container.java:1975) >> at java.awt.Window.paint(Window.java:3904) >> at javax.swing.RepaintManager$4.run(RepaintManager.java:842) >> at javax.swing.RepaintManager$4.run(RepaintManager.java:814) >> at java.security.AccessController.doPrivileged(Native Method) >> at >> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) >> at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) >> at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) >> at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) >> at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) >> at >> javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) >> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) >> at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) >> at java.awt.EventQueue.access$500(EventQueue.java:97) >> at java.awt.EventQueue$3.run(EventQueue.java:709) >> at java.awt.EventQueue$3.run(EventQueue.java:703) >> at java.security.AccessController.doPrivileged(Native Method) >> at >> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) >> at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) >> at >> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) >> at >> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) >> at >> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) >> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) >> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) >> at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) >> Caused by: javax.media.opengl.GLException: Not a GL2 implementation >> at jogamp.opengl.gl4.GL4bcImpl.getGL2(GL4bcImpl.java:37071) >> at >> org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.getGl(Unknown Source) >> at >> org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.display(Unknown >> Source) >> at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:690) >> at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:672) >> at javax.media.opengl.awt.GLJPanel$Updater.display(GLJPanel.java:1408) >> at javax.media.opengl.awt.GLJPanel$9.run(GLJPanel.java:1483) >> at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1277) >> ... 58 more >> Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: >> Caught GLException: Not a GL2 implementation on thread AWT-EventQueue-0 >> at javax.media.opengl.GLException.newGLException(GLException.java:75) >> at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1311) >> at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1131) >> at >> javax.media.opengl.awt.GLJPanel$OffscreenBackend.doPaintComponent(GLJPanel.java:2024) >> at javax.media.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:569) >> at javax.swing.JComponent.paint(JComponent.java:1056) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JViewport.paint(JViewport.java:728) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at >> org.scilab.modules.gui.bridge.tab.SwingScilabDockablePanel.paintChildren(Unknown >> Source) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at >> org.flexdock.docking.defaults.DefaultDockingPort.paint(DefaultDockingPort.java:1983) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paintToOffscreen(JComponent.java:5217) >> at >> javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) >> at javax.swing.RepaintManager.paint(RepaintManager.java:1272) >> at javax.swing.JComponent.paint(JComponent.java:1042) >> at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39) >> at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:79) >> at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:116) >> at java.awt.Container.paint(Container.java:1975) >> at java.awt.Window.paint(Window.java:3904) >> at javax.swing.RepaintManager$4.run(RepaintManager.java:842) >> at javax.swing.RepaintManager$4.run(RepaintManager.java:814) >> at java.security.AccessController.doPrivileged(Native Method) >> at >> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) >> at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) >> at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) >> at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) >> at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) >> at >> javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) >> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) >> at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) >> at java.awt.EventQueue.access$500(EventQueue.java:97) >> at java.awt.EventQueue$3.run(EventQueue.java:709) >> at java.awt.EventQueue$3.run(EventQueue.java:703) >> at java.security.AccessController.doPrivileged(Native Method) >> at >> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) >> at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) >> at >> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) >> at >> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) >> at >> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) >> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) >> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) >> at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) >> Caused by: javax.media.opengl.GLException: Not a GL2 implementation >> at jogamp.opengl.gl4.GL4bcImpl.getGL2(GL4bcImpl.java:37071) >> at >> org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.getGl(Unknown Source) >> at >> org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.display(Unknown >> Source) >> at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:690) >> at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:672) >> at javax.media.opengl.awt.GLJPanel$Updater.display(GLJPanel.java:1408) >> at javax.media.opengl.awt.GLJPanel$9.run(GLJPanel.java:1483) >> at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1277) >> ... 58 more >> Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: >> Caught GLException: Not a GL2 implementation on thread AWT-EventQueue-0 >> at javax.media.opengl.GLException.newGLException(GLException.java:75) >> at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1311) >> at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1131) >> at >> javax.media.opengl.awt.GLJPanel$OffscreenBackend.doPaintComponent(GLJPanel.java:2024) >> at javax.media.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:569) >> at javax.swing.JComponent.paint(JComponent.java:1056) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JViewport.paint(JViewport.java:728) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at >> org.scilab.modules.gui.bridge.tab.SwingScilabDockablePanel.paintChildren(Unknown >> Source) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at >> org.flexdock.docking.defaults.DefaultDockingPort.paint(DefaultDockingPort.java:1983) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paintToOffscreen(JComponent.java:5217) >> at >> javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) >> at javax.swing.RepaintManager.paint(RepaintManager.java:1272) >> at javax.swing.JComponent.paint(JComponent.java:1042) >> at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39) >> at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:79) >> at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:116) >> at java.awt.Container.paint(Container.java:1975) >> at java.awt.Window.paint(Window.java:3904) >> at javax.swing.RepaintManager$4.run(RepaintManager.java:842) >> at javax.swing.RepaintManager$4.run(RepaintManager.java:814) >> at java.security.AccessController.doPrivileged(Native Method) >> at >> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) >> at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) >> at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) >> at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) >> at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) >> at >> javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) >> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) >> at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) >> at java.awt.EventQueue.access$500(EventQueue.java:97) >> at java.awt.EventQueue$3.run(EventQueue.java:709) >> at java.awt.EventQueue$3.run(EventQueue.java:703) >> at java.security.AccessController.doPrivileged(Native Method) >> at >> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) >> at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) >> at >> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) >> at >> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) >> at >> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) >> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) >> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) >> at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) >> Caused by: javax.media.opengl.GLException: Not a GL2 implementation >> at jogamp.opengl.gl4.GL4bcImpl.getGL2(GL4bcImpl.java:37071) >> at >> org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.getGl(Unknown Source) >> at >> org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.display(Unknown >> Source) >> at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:690) >> at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:672) >> at javax.media.opengl.awt.GLJPanel$Updater.display(GLJPanel.java:1408) >> at javax.media.opengl.awt.GLJPanel$9.run(GLJPanel.java:1483) >> at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1277) >> ... 58 more >> Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: >> Caught GLException: Not a GL2 implementation on thread AWT-EventQueue-0 >> at javax.media.opengl.GLException.newGLException(GLException.java:75) >> at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1311) >> at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1131) >> at >> javax.media.opengl.awt.GLJPanel$OffscreenBackend.doPaintComponent(GLJPanel.java:2024) >> at javax.media.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:569) >> at javax.swing.JComponent.paint(JComponent.java:1056) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JViewport.paint(JViewport.java:728) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at >> org.scilab.modules.gui.bridge.tab.SwingScilabDockablePanel.paintChildren(Unknown >> Source) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at >> org.flexdock.docking.defaults.DefaultDockingPort.paint(DefaultDockingPort.java:1983) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paintToOffscreen(JComponent.java:5217) >> at >> javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) >> at javax.swing.RepaintManager.paint(RepaintManager.java:1272) >> at javax.swing.JComponent.paint(JComponent.java:1042) >> at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39) >> at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:79) >> at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:116) >> at java.awt.Container.paint(Container.java:1975) >> at java.awt.Window.paint(Window.java:3904) >> at javax.swing.RepaintManager$4.run(RepaintManager.java:842) >> at javax.swing.RepaintManager$4.run(RepaintManager.java:814) >> at java.security.AccessController.doPrivileged(Native Method) >> at >> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) >> at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) >> at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) >> at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) >> at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) >> at >> javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) >> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) >> at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) >> at java.awt.EventQueue.access$500(EventQueue.java:97) >> at java.awt.EventQueue$3.run(EventQueue.java:709) >> at java.awt.EventQueue$3.run(EventQueue.java:703) >> at java.security.AccessController.doPrivileged(Native Method) >> at >> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) >> at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) >> at >> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) >> at >> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) >> at >> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) >> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) >> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) >> at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) >> Caused by: javax.media.opengl.GLException: Not a GL2 implementation >> at jogamp.opengl.gl4.GL4bcImpl.getGL2(GL4bcImpl.java:37071) >> at >> org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.getGl(Unknown Source) >> at >> org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.display(Unknown >> Source) >> at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:690) >> at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:672) >> at javax.media.opengl.awt.GLJPanel$Updater.display(GLJPanel.java:1408) >> at javax.media.opengl.awt.GLJPanel$9.run(GLJPanel.java:1483) >> at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1277) >> ... 58 more >> Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: >> Caught GLException: Not a GL2 implementation on thread AWT-EventQueue-0 >> at javax.media.opengl.GLException.newGLException(GLException.java:75) >> at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1311) >> at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1131) >> at >> javax.media.opengl.awt.GLJPanel$OffscreenBackend.doPaintComponent(GLJPanel.java:2024) >> at javax.media.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:569) >> at javax.swing.JComponent.paint(JComponent.java:1056) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JViewport.paint(JViewport.java:728) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at >> org.scilab.modules.gui.bridge.tab.SwingScilabDockablePanel.paintChildren(Unknown >> Source) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at >> org.flexdock.docking.defaults.DefaultDockingPort.paint(DefaultDockingPort.java:1983) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paint(JComponent.java:1065) >> at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) >> at javax.swing.JComponent.paintChildren(JComponent.java:889) >> at javax.swing.JComponent.paintToOffscreen(JComponent.java:5217) >> at >> javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) >> at javax.swing.RepaintManager.paint(RepaintManager.java:1272) >> at javax.swing.JComponent.paint(JComponent.java:1042) >> at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39) >> at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:79) >> at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:116) >> at java.awt.Container.paint(Container.java:1975) >> at java.awt.Window.paint(Window.java:3904) >> at javax.swing.RepaintManager$4.run(RepaintManager.java:842) >> at javax.swing.RepaintManager$4.run(RepaintManager.java:814) >> at java.security.AccessController.doPrivileged(Native Method) >> at >> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) >> at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) >> at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) >> at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) >> at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) >> at >> javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) >> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) >> at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) >> at java.awt.EventQueue.access$500(EventQueue.java:97) >> at java.awt.EventQueue$3.run(EventQueue.java:709) >> at java.awt.EventQueue$3.run(EventQueue.java:703) >> at java.security.AccessController.doPrivileged(Native Method) >> at >> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) >> at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) >> at >> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) >> at >> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) >> at >> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) >> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) >> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) >> at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) >> Caused by: javax.media.opengl.GLException: Not a GL2 implementation >> at jogamp.opengl.gl4.GL4bcImpl.getGL2(GL4bcImpl.java:37071) >> at >> org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.getGl(Unknown Source) >> at >> org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas.display(Unknown >> Source) >> at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:690) >> at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:672) >> at javax.media.opengl.awt.GLJPanel$Updater.display(GLJPanel.java:1408) >> at javax.media.opengl.awt.GLJPanel$9.run(GLJPanel.java:1483) >> at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1277) >> ... 58 more >> >> >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> https://antispam.utc.fr/proxy/v3?i=MUo0RzFIRTVvbFhYVGloQoloZQj6tvqyhpERsn5z8Z4&r=cFdGNHFjVENnWDEzUVliSZqa92Ij_tTjl26kvR1TKYhrACGUUvf07czFMIQsHOTl&f=ODlJNFRJTjZBcWFlaWxQaCWHfP5TwO6tLcRB8udwSmRu_YmmB5TAisRDyjlFqOMc&u=http%3A//lists.scilab.org/mailman/listinfo/users&k=b1p5 >> > > _______________________________________________ > users mailing list > users at lists.scilab.org > https://antispam.utc.fr/proxy/v3?i=MUo0RzFIRTVvbFhYVGloQoloZQj6tvqyhpERsn5z8Z4&r=cFdGNHFjVENnWDEzUVliSZqa92Ij_tTjl26kvR1TKYhrACGUUvf07czFMIQsHOTl&f=ODlJNFRJTjZBcWFlaWxQaCWHfP5TwO6tLcRB8udwSmRu_YmmB5TAisRDyjlFqOMc&u=http%3A//lists.scilab.org/mailman/listinfo/users&k=b1p5 -- 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 rouxph.22 at gmail.com Wed Jul 7 21:44:05 2021 From: rouxph.22 at gmail.com (philippe) Date: Wed, 7 Jul 2021 21:44:05 +0200 Subject: [Scilab-users] scilab 6.1 and ubuntu 20.04 no graphics ? In-Reply-To: References: <71e7a944-fd83-209b-d864-cb8f3d8d6691@utc.fr> Message-ID: Le 07/07/2021 ? 16:49, St?phane Mottelet a ?crit?: > Can you test : > > LIBGL_ALWAYS_SOFTWARE=1 bin/scilab > > from within scilab installation folder, then plot something ? great! It looks to solve the problem . Philippe From sgougeon at free.fr Thu Jul 8 08:00:30 2021 From: sgougeon at free.fr (Samuel Gougeon) Date: Thu, 8 Jul 2021 08:00:30 +0200 Subject: [Scilab-users] Native arm64 build for Mac M1 In-Reply-To: <611deabe-2b6c-a302-0b9a-2ff2aa143ea0@utc.fr> References: <611deabe-2b6c-a302-0b9a-2ff2aa143ea0@utc.fr> Message-ID: <8ede0a24-f5c4-5223-99ab-c00e70b15ad5@free.fr> That's strange : do you confirm that this thread and following ones (*) look no longer archived @ http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html ? They do not appear amongs most recent topics: (*)? At the current time, * Fwd: avoid auto-zoom when rotating a 3D graphic * scilab 6.1 and ubuntu 20.04 no graphics ? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: hgnpgbneifinkepe.png Type: image/png Size: 33663 bytes Desc: not available URL: From stephane.mottelet at utc.fr Thu Jul 8 08:52:21 2021 From: stephane.mottelet at utc.fr (=?UTF-8?Q?St=c3=a9phane_Mottelet?=) Date: Thu, 8 Jul 2021 08:52:21 +0200 Subject: [Scilab-users] scilab 6.1 and ubuntu 20.04 no graphics ? In-Reply-To: References: <71e7a944-fd83-209b-d864-cb8f3d8d6691@utc.fr> Message-ID: <54b70f6c-b655-da1f-65fe-bfd794380049@utc.fr> It is not a definitive solution if you do have graphics hardware and launch Scilab on the actual real console (I mean, not in headless mode or thru a vnc session or else). See if you can obtain the relevant drivers for your graphics card. S. Le 07/07/2021 ? 21:44, philippe a ?crit?: > Le 07/07/2021 ? 16:49, St?phane Mottelet a ?crit?: >> Can you test : >> >> LIBGL_ALWAYS_SOFTWARE=1 bin/scilab >> >> from within scilab installation folder, then plot something ? > > great! It looks to solve the problem . > > Philippe > > _______________________________________________ > users mailing list > users at lists.scilab.org > https://antispam.utc.fr/proxy/v3?i=SHV0Y1JZQjNyckJFa3dUQiblhF5YcUqtiWCaK_ri0kk&r=T0hnMlUyVEgwNmlmdHc1NTiGTQVgIg9a1MYkHb_GeosOO-jCQ_NnAucfYCLceioT&f=V3p0eFlQOUZ4czh2enpJS67gBdM2WVME2HqVPefA4FpGU6HeKhrEzrhzAHs-d_Wu&u=http%3A//lists.scilab.org/mailman/listinfo/users&k=ZVd0 -- 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 Sat Jul 10 16:11:20 2021 From: sgougeon at free.fr (Samuel Gougeon) Date: Sat, 10 Jul 2021 16:11:20 +0200 Subject: [Scilab-users] Question on saving with wavwrite() In-Reply-To: <90dcc221-c893-a940-9951-8b3edf7be454@fceia.unr.edu.ar> References: <90dcc221-c893-a940-9951-8b3edf7be454@fceia.unr.edu.ar> Message-ID: Hello Federico, I confirm this issue. It appeared in Scilab 6.1.0 and? occurs only when pwd() and the filename are on the same disk. It comes from a change of behavior of mopen(), and so may occurs for many other functions using mopen(). Regards Samuel Le 16/06/2021 ? 00:32, Federico Miyara a ?crit?: > Dear all, > > I try to save a signal as a wave file, using wavwrite(), to the root > directory of the drive where I have declared the default directory. > Unexpectedly, the wave file is saved to the default directory. For > instance: > > My default directory: > > D:\work_scilab > > My command: > > wavwrite(x, Fs, "D:\test.wav") > > The resulting path to my file: > > D:\work_scilab\test.wav > > instead of > > D:\test.wav > > I wonder if I making some mistake. > > Thank you. > > Regards, > > Federico Miyara -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Sat Jul 10 16:37:06 2021 From: sgougeon at free.fr (Samuel Gougeon) Date: Sat, 10 Jul 2021 16:37:06 +0200 Subject: [Scilab-users] Fwd: avoid auto-zoom when rotating a 3D graphic In-Reply-To: <158a0e75-9454-0684-6527-5bdf1100bed7@utc.fr> References: <158a0e75-9454-0684-6527-5bdf1100bed7@utc.fr> Message-ID: <1f6725df-2c48-1652-33d0-a1b08cd407c6@free.fr> Hello, Le 07/07/2021 ? 10:09, St?phane Mottelet a ?crit?: > > Hello Philipp, > > The feature did exist until Scilab 5 family but was removed. > I have never seen this in Scilab 4, 5 or 6. 3D rotations have always been prone to some stretching of the axes in order to fill the more as possible the axes_bounds whatever are the rotation_angles, isoview and cube_scaling values. Could you provide a sample running on Scilab 5 and preventing this stretching? Thanks. Samuel x = [0:0.3:%pi]'; y = [0:0.3:2*%pi]; z = sin(x)*cos(y); [xx,yy,zz] = genfac3d(x,y,z); plot3d(xx,yy,zz) for iv = ["off" "on"] ax.isoview = iv; for cs = ["off" "on"] ax.cube_scaling = cs; for a = 0:3:720, ax.rotation_angles(2) = a; sleep(100); end end end -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephane.mottelet at utc.fr Sat Jul 10 18:33:34 2021 From: stephane.mottelet at utc.fr (=?utf-8?Q?St=C3=A9phane_Mottelet?=) Date: Sat, 10 Jul 2021 18:33:34 +0200 Subject: [Scilab-users] Fwd: avoid auto-zoom when rotating a 3D graphic In-Reply-To: <1f6725df-2c48-1652-33d0-a1b08cd407c6@free.fr> References: <1f6725df-2c48-1652-33d0-a1b08cd407c6@free.fr> Message-ID: <2A40DD6C-A58E-4BD9-9F10-46B7C54C0615@utc.fr> It was before Java graphics. S. > Le 10 juil. 2021 ? 16:38, Samuel Gougeon a ?crit : > > ? > Hello, > > Le 07/07/2021 ? 10:09, St?phane Mottelet a ?crit : >> Hello Philipp, >> >> The feature did exist until Scilab 5 family but was removed. >> > I have never seen this in Scilab 4, 5 or 6. 3D rotations have always been prone to some stretching of the axes in order to fill the more as possible the axes_bounds whatever are the rotation_angles, isoview and cube_scaling values. > Could you provide a sample running on Scilab 5 and preventing this stretching? > Thanks. > > Samuel > > > x = [0:0.3:%pi]'; > y = [0:0.3:2*%pi]; > > z = sin(x)*cos(y); > [xx,yy,zz] = genfac3d(x,y,z); > plot3d(xx,yy,zz) > > for iv = ["off" "on"] > ax.isoview = iv; > for cs = ["off" "on"] > ax.cube_scaling = cs; > for a = 0:3:720, ax.rotation_angles(2) = a; sleep(100); end > end > end > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Sat Jul 10 23:37:36 2021 From: sgougeon at free.fr (Samuel Gougeon) Date: Sat, 10 Jul 2021 23:37:36 +0200 Subject: [Scilab-users] Question on saving with wavwrite() In-Reply-To: References: <90dcc221-c893-a940-9951-8b3edf7be454@fceia.unr.edu.ar> Message-ID: <2b96e34b-4f8e-d3f5-ac3d-bbf54b10409c@free.fr> Le 10/07/2021 ? 16:11, Samuel Gougeon a ?crit?: > Hello Federico, > > I confirm this issue. It appeared in Scilab 6.1.0 and? occurs only > when pwd() and the filename are on the same disk. > It comes from a change of behavior of mopen(), and so may occurs for > many other functions using mopen(). > > Regards > Samuel fullpath() -- that was changed in january 2020 -- is the final guilty: --> pwd ?ans? = ? "D:\Softs" --> fullpath("D:\test.wav") ?ans? = ? "D:\Softs\test.wav" Samuel From stephane.mottelet at utc.fr Sun Jul 11 00:00:25 2021 From: stephane.mottelet at utc.fr (=?utf-8?Q?St=C3=A9phane_Mottelet?=) Date: Sun, 11 Jul 2021 00:00:25 +0200 Subject: [Scilab-users] Question on saving with wavwrite() In-Reply-To: <2b96e34b-4f8e-d3f5-ac3d-bbf54b10409c@free.fr> References: <2b96e34b-4f8e-d3f5-ac3d-bbf54b10409c@free.fr> Message-ID: <82F88A46-91E0-4730-9FC8-99B57C30D75D@utc.fr> Hello, No, Microsoft Windows is the real guilty, guilty of crime against humanity, and the demonstration of it is almost shown daily.... S. > Le 10 juil. 2021 ? 23:38, Samuel Gougeon a ?crit : > > ?Le 10/07/2021 ? 16:11, Samuel Gougeon a ?crit : >> Hello Federico, >> >> I confirm this issue. It appeared in Scilab 6.1.0 and occurs only when pwd() and the filename are on the same disk. >> It comes from a change of behavior of mopen(), and so may occurs for many other functions using mopen(). >> >> Regards >> Samuel > > > fullpath() -- that was changed in january 2020 -- is the final guilty: > > --> pwd > ans = > "D:\Softs" > > --> fullpath("D:\test.wav") > ans = > "D:\Softs\test.wav" > > Samuel > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From fmiyara at fceia.unr.edu.ar Mon Jul 12 01:21:40 2021 From: fmiyara at fceia.unr.edu.ar (Federico Miyara) Date: Sun, 11 Jul 2021 20:21:40 -0300 Subject: [Scilab-users] spectrogram Message-ID: <7861c2b8-cac5-16bd-fca4-0f2089feb970@fceia.unr.edu.ar> Dear All, I noticed there is no spectrogram function in Scilab that provides both graphic and numerical output. There is a function mapsound(), which plots a spectrogram without numerical information and without control over important aspects such has FFT length or windowing function. By the way, in the field of digital sound processing the usual name for this is spectrogram, not mapsound, which is a bit confusing. I created a spectrogram() function. Even if it doesn't yet comply with the recommended style for Scilab functions (particularly regarding error handling or manual page), I think it might be useful for some users. I attach the function and a test script. Regards, Federico Miyara -- 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: -------------- next part -------------- function [z, t, f] = spectrogram(x, N, Fs, M, w, grph) // Spectrogram of a signal // // Usage // [z, t, f] = spectrogram(x, N, Fs, M, w, grph) // where // x: signal vector // Fs: sample rate in Hz // N: FFT window length // Fs: sample rate in Hz // M: offset between FFT windows in samples // w: windowing function; accepted values are // "boxcar", "hann", "hamming", "blackman", // "bharris", "flattop" and a custom vector // containing N components of the window // grph: graphic output; accepted values are // "lin", "lincmap", "log", "logcmap", // lin/log refers to linear or logarithmic // distribution of magnitude along the // colormap and cmap to the inclusion or // not of a colormap. The default is no // graph. // z: matrix with N/2 rows and // floor((length(x) - N)/M + 1) columns, // where each column contains the absolute // value of the spectrum beginning at each // multiple of M // t: vector containing starting times in s of // each FFT window // f: vector containing the values of the // FFT frequency bins in Hz // // ----------------------------------------------- // Author: Federico Miyara // Date: 2021-07-10 // Argument handling rhs = argn(2); if rhs<6 grph = []; end if rhs<5 w = "hann"; end if rhs<4 M = 512; end if rhs<3 Fs = 44100; end if rhs<2 N = 1024; end // Data for testing purpooses --DELETE-- if 1==2 Fs = 44100 N = 1024 M = 256 w = "hann" grph = "logcmap" tt = 0:1/Fs:2; fo = 8000 fm = 0.5 df = 4000 ff = fo + df*sin(2*%pi*fm*tt); phi = 2*%pi*cumsum(f)/Fs; caso = 2 select caso case 1 x = 0.4*sin(phi) + 0.3*sin(2*phi); case 2 x = sin(phi) + sin(2*phi); x = min(x, ones(x)); end wavwrite(x,"d:\hola\fmod.wav") end // Ensure the signal is a column vector x = x(:); // Number of FFT windows Q = floor((length(x) - N)/M + 1); // Initialize z z = zeros(N/2, Q); // Generate a matrix whose columns are // segments with length N of the signal // starting at sample indices multiple // of M y = zeros(N, Q); for k=1:Q y(:,k) = x((k-1)*M+1:(k-1)*M+N); end // Compute window function if type(w)==1 w = w(:); else select w case "boxcar" w = 1; case "hann" w = 0.5 - 0.5*cos(2*%pi*[0:N-1]/N)'; case "hamming" w = 0.54 - 0.46*cos(2*%pi*[0:N-1]/N)'; case "blackman" w = 0.42 - 0.5*cos(2*%pi*[0:N-1]/N)' + ... 0.08*cos(4*%pi*[0:N-1]/N)'; case "bharris" w = 0.35875 - 0.48829*cos(2*%pi*[0:N-1]/N)' + ... 0.14128*cos(4*%pi*[0:N-1]/N)' - ... 0.01168*cos(6*%pi*[0:N-1]/N)'; case "flattop" wft = 1 - 1.90796*cos(2*%pi*[0:N-1]/N)' + ... 1.07349*cos(4*%pi*[0:N-1]/N)' - ... 0.18199*cos(6*%pi*[0:N-1]/N)'; end end // Replicate window ww = repmat(w, 1, Q); // FFT of the windowed signal along columns // and conversion to unilateral spectrum z = abs(fft(y.*ww, -1, 1))(1:N/2,:)*2/N; z(1,:) = z(1,:)/2; // Starting times of the FFT windows t = (0:Q-1)*M/Fs; // Frequencies of the FFT bins f = (0:N/2-1)*Fs/N; // Graphic output cmap = jetcolormap(64); select grph case "lin" figure(); clf(); gcf().color_map= [cmap; [1 1 1]]; gcf().background = 65; Sgrayplot(t, f, z'); case "lincmap" figure(); clf(); gcf().color_map= [cmap; [1 1 1]]; gcf().background = 65; Sgrayplot(t, f, z'); colorbar case "log" figure() clf(); gcf().color_map= [cmap; [1 1 1]]; gcf().background = 65; Sgrayplot(t, f, 20*log10(z')); case "logcmap" figure() clf(); gcf().color_map= [cmap; [1 1 1]]; gcf().background = 65; Sgrayplot(t, f, 20*log10(z')); colorbar end endfunction -------------- next part -------------- // Testing the function spectrogram() // Sample rate i Hz Fs = 44100 // Size of FFT window N = 1024 // Ofset in samples between FFT windows M = 256 // Tapering window function w = "hann" // Type of graphic output grph = "logcmap"; // Time vector in s t = 0:1/Fs:2; // Carrier frequency in Hz fo = 8000 // Modulation frequency in Hz fm = 0.5 // Frequency deviation in Hz df = 4000 // Frequency vector f = fo + df*sin(2*%pi*fm*t); // Phase computed by numerical integration phi = 2*%pi*cumsum(f)/Fs; // Signal generation caso = 2 select caso case 1 // Two harmonics with aliasing x = 0.4*sin(phi) + 0.3*sin(2*phi); case 2 // Two harmonics with aliasing and distortion // by truncation x = sin(phi) + sin(2*phi); x = min(x, ones(x)); end // Save wave as a wav file to compare with external // software such as Audacity //wavwrite(x,"d:\hola\fmod.wav") exec spectrogram.sci z = spectrogram(x, N, Fs, M, w, grph); From cfuttrup at gmail.com Mon Jul 12 08:48:11 2021 From: cfuttrup at gmail.com (Claus Futtrup) Date: Mon, 12 Jul 2021 08:48:11 +0200 Subject: [Scilab-users] spectrogram In-Reply-To: <7861c2b8-cac5-16bd-fca4-0f2089feb970@fceia.unr.edu.ar> References: <7861c2b8-cac5-16bd-fca4-0f2089feb970@fceia.unr.edu.ar> Message-ID: <15af0905-6b9b-585f-48cf-4bb151bbf88b@gmail.com> Thank you. :-) BTW, Wikipeda has a nice (short) explanation of spectrogram: https://en.wikipedia.org/wiki/Spectrogram /Claus On 12-07-2021 01:21, Federico Miyara wrote: > > Dear All, > > I noticed there is no spectrogram function in Scilab that provides > both graphic and numerical output. There is a function mapsound(), > which plots a spectrogram without numerical information and without > control over important aspects such has FFT length or windowing > function. By the way, in the field of digital sound processing the > usual name for this is spectrogram, not mapsound, which is a bit > confusing. > > I created a spectrogram() function. Even if it doesn't yet comply with > the recommended style for Scilab functions (particularly regarding > error handling or manual page), I think it might be useful for some > users. I attach the function and a test script. > > Regards, > > Federico Miyara > > > > > Libre de virus. www.avast.com > > > > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Mon Jul 12 11:38:31 2021 From: sgougeon at free.fr (Samuel Gougeon) Date: Mon, 12 Jul 2021 11:38:31 +0200 Subject: [Scilab-users] spectrogram In-Reply-To: <7861c2b8-cac5-16bd-fca4-0f2089feb970@fceia.unr.edu.ar> References: <7861c2b8-cac5-16bd-fca4-0f2089feb970@fceia.unr.edu.ar> Message-ID: <8a548098-50ac-51e8-7522-aff519721f68@free.fr> Hello Federico, As reported at http://bugzilla.scilab.org/16530 , mapsound() could not really be used. It has been rewritten in Scilab 6.1.1. It's help page in PDF is available at http://bugzilla.scilab.org/attachment.cgi?id=5178 To be compared to the last 6.1.0 former version https://help.scilab.org/docs/6.1.0/fr_FR/mapsound.html It could be still improved later with additional suggested features. Regards Samuel PS : A redirection mechanism to be set in user's preferences has been implemented in Scilab 6.1.1 to automatically redirect help queries in the help browser toward the most relevant page, as uman() does. It has been designed first to help scilab newbies coming from other languages, but can also be used for other common terms. Even if it is not "standard", mapsound is explicit enough, in the right help section,? and OK to me. So we could redirect spectrogram to mapsound. Le 12/07/2021 ? 01:21, Federico Miyara a ?crit?: > > Dear All, > > I noticed there is no spectrogram function in Scilab that provides > both graphic and numerical output. There is a function mapsound(), > which plots a spectrogram without numerical information and without > control over important aspects such has FFT length or windowing > function. By the way, in the field of digital sound processing the > usual name for this is spectrogram, not mapsound, which is a bit > confusing. > > I created a spectrogram() function. Even if it doesn't yet comply with > the recommended style for Scilab functions (particularly regarding > error handling or manual page), I think it might be useful for some > users. I attach the function and a test script. > > Regards, > > Federico Miyara -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfuttrup at gmail.com Mon Jul 12 11:58:28 2021 From: cfuttrup at gmail.com (Claus Futtrup) Date: Mon, 12 Jul 2021 11:58:28 +0200 Subject: [Scilab-users] spectrogram In-Reply-To: <8a548098-50ac-51e8-7522-aff519721f68@free.fr> References: <7861c2b8-cac5-16bd-fca4-0f2089feb970@fceia.unr.edu.ar> <8a548098-50ac-51e8-7522-aff519721f68@free.fr> Message-ID: Hi all An Amplitude(time,frequency) plot should be named Spectrogram. That's the official name for it. >mapsound(), which plots a spectrogram without numerical information I didn't check, but if this is true, then an improvement as proposed by Federico would be good. Best regards, Claus On 12-07-2021 11:38, Samuel Gougeon wrote: > Hello Federico, > > As reported at http://bugzilla.scilab.org/16530 , mapsound() could not > really be used. > It has been rewritten in Scilab 6.1.1. > It's help page in PDF is available at > http://bugzilla.scilab.org/attachment.cgi?id=5178 > To be compared to the last 6.1.0 former version > https://help.scilab.org/docs/6.1.0/fr_FR/mapsound.html > > It could be still improved later with additional suggested features. > > Regards > > Samuel > > PS : A redirection mechanism to be set in user's preferences has been > implemented in Scilab 6.1.1 > to automatically redirect help queries in the help browser toward the > most relevant page, as uman() does. > It has been designed first to help scilab newbies coming from other > languages, but can also be used > for other common terms. > Even if it is not "standard", mapsound is explicit enough, in the > right help section,? and OK to me. > So we could redirect spectrogram to mapsound. > > Le 12/07/2021 ? 01:21, Federico Miyara a ?crit?: >> >> Dear All, >> >> I noticed there is no spectrogram function in Scilab that provides >> both graphic and numerical output. There is a function mapsound(), >> which plots a spectrogram without numerical information and without >> control over important aspects such has FFT length or windowing >> function. By the way, in the field of digital sound processing the >> usual name for this is spectrogram, not mapsound, which is a bit >> confusing. >> >> I created a spectrogram() function. Even if it doesn't yet comply >> with the recommended style for Scilab functions (particularly >> regarding error handling or manual page), I think it might be useful >> for some users. I attach the function and a test script. >> >> Regards, >> >> Federico Miyara > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From fmiyara at fceia.unr.edu.ar Tue Jul 13 06:02:11 2021 From: fmiyara at fceia.unr.edu.ar (Federico Miyara) Date: Tue, 13 Jul 2021 01:02:11 -0300 Subject: [Scilab-users] spectrogram In-Reply-To: References: <7861c2b8-cac5-16bd-fca4-0f2089feb970@fceia.unr.edu.ar> <8a548098-50ac-51e8-7522-aff519721f68@free.fr> Message-ID: <1ac3be98-dd23-471f-49df-7daef5062981@fceia.unr.edu.ar> The time-frequency representation implicit in the spectrogram has many uses apart from sound analysis, for instance ECG, EMG and EEG signals, mechanical vibration, light signals, seismic signals, sun spots, circadian rhythms, meteorology, etc. Here I'm attaching a new version of the function spectrogram() that includes the possibility of choosing the color map, as in the updated version of mapsound() proposed by Samuel. This function allows to choose directly the size of the FFT, the overlapping (in samples rather than in seconds), the sample rate, the type of windowing function, the type of graphic presentation, with linear or log distribution of the levels over the color map, either showing or not the reference color map, and the color map, either one of the standard ones introduced as a string or a custom one introduced as a three-column matrix. The output includes the numerical version of the spectrogram and, optionally, the time axis and frequency axis, allowing plotting it in a 3D version with plot3d() as well as postprocessing it (such as pitch or formant extraction). I have made no attempt to include other spectrum algorithms apart from the FFT, or reassignment strategies, which could be a future improvement. Regards, Federico Miyara On 12/07/2021 06:58, Claus Futtrup wrote: > Hi all > > An Amplitude(time,frequency) plot should be named Spectrogram. That's > the official name for it. > > >mapsound(), which plots a spectrogram without numerical information > > I didn't check, but if this is true, then an improvement as proposed > by Federico would be good. > > Best regards, > Claus > > On 12-07-2021 11:38, Samuel Gougeon wrote: >> Hello Federico, >> >> As reported at http://bugzilla.scilab.org/16530 , mapsound() could >> not really be used. >> It has been rewritten in Scilab 6.1.1. >> It's help page in PDF is available at >> http://bugzilla.scilab.org/attachment.cgi?id=5178 >> To be compared to the last 6.1.0 former version >> https://help.scilab.org/docs/6.1.0/fr_FR/mapsound.html >> >> It could be still improved later with additional suggested features. >> >> Regards >> >> Samuel >> >> PS : A redirection mechanism to be set in user's preferences has been >> implemented in Scilab 6.1.1 >> to automatically redirect help queries in the help browser toward the >> most relevant page, as uman() does. >> It has been designed first to help scilab newbies coming from other >> languages, but can also be used >> for other common terms. >> Even if it is not "standard", mapsound is explicit enough, in the >> right help section, and OK to me. >> So we could redirect spectrogram to mapsound. >> >> Le 12/07/2021 ? 01:21, Federico Miyara a ?crit?: >>> >>> Dear All, >>> >>> I noticed there is no spectrogram function in Scilab that provides >>> both graphic and numerical output. There is a function mapsound(), >>> which plots a spectrogram without numerical information and without >>> control over important aspects such has FFT length or windowing >>> function. By the way, in the field of digital sound processing the >>> usual name for this is spectrogram, not mapsound, which is a bit >>> confusing. >>> >>> I created a spectrogram() function. Even if it doesn't yet comply >>> with the recommended style for Scilab functions (particularly >>> regarding error handling or manual page), I think it might be useful >>> for some users. I attach the function and a test script. >>> >>> Regards, >>> >>> Federico Miyara >> >> >> _______________________________________________ >> 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: -------------- next part -------------- function [z, t, f] = spectrogram(x, N, M, Fs, w, grph, cmap) // Spectrogram of a signal // // Usage // [z, t, f] = spectrogram(x, N, Fs, M, w, grph) // where // x: signal vector // N: FFT window length. Default: 1024 // M: offset between FFT windows in samples // Default: 512 // Fs: sample rate in Hz. Default: 44100 // w: windowing function; accepted values are // "boxcar", "hann", "hamming", "blackman", // "bharris", "flattop" and a custom vector // containing N components of the window. // Default: "hann" // grph: graphic output; accepted values are // "lin", "lincmap", "log", "logcmap", // lin/log refers to linear or logarithmic // distribution of magnitude along the // colormap and cmap to the inclusion or // not of a colormap. The default is no // graph. // cmap: a string indicating any of the accepted // color maps (such as "jetcolormap") or // any matrix with 3 columns containing the // RGB description of the colors. Default: // "jetcolormap" // z: matrix with N/2 rows and // floor((length(x) - N)/M + 1) columns, // where each column contains the absolute // value of the spectrum beginning at each // multiple of M // t: vector containing starting times in s of // each FFT window // f: vector containing the values of the // FFT frequency bins in Hz // // ----------------------------------------------- // Author: Federico Miyara // Date: 2021-07-10 // Argument handling rhs = argn(2); if rhs<7 cmap = jetcolormap(64); else if type(cmap)==10 // Accepted color maps cmaps = ["autumncolormap" "bonecolormap" ... "coolcolormap" "coppercolormap" ... "graycolormap" "hotcolormap" ... "hsvcolormap" "jetcolormap" ... "oceancolormap" "parulacolormap" ... "pinkcolormap" "rainbowcolormap" ... "springcolormap" "summercolormap" ... "whitecolormap" "wintercolormap"] if or(cmap==cmaps) // Get cmap from accepted color maps execstr("cmap = " + cmap + "(64)"); else cmap = jetcolormap(64); end elseif type(cmap)==1 if isreal(cmap) if size(cmap)(2)==3 & max(cmap)<=1 & min(cmap)>=0 else cmap = jetcolormap(64); end else cmap = jetcolormap(64);; end else cmap = jetcolormap(64);; end end if rhs<6 grph = "log"; end if rhs<5 w = "hann"; end if rhs<4 Fs = 44100; end if rhs<3 M = 512; end if rhs<2 N = 1024; end // Data for testing purpooses --DELETE-- if 1==2 N = 1024 M = 256 Fs = 44100 w = "hann" grph = "logcmap" cmap = "jetcolormap" tt = 0:1/Fs:2; fo = 8000 fm = 0.5 df = 4000 ff = fo + df*sin(2*%pi*fm*tt); phi = 2*%pi*cumsum(f)/Fs; caso = 2 select caso case 1 // Two harmonics with aliasing x = 0.4*sin(phi) + 0.3*sin(2*phi); case 2 // Two harmonics with aliasing // and distortion x = sin(phi) + sin(2*phi); x = min(x, ones(x)); end wavwrite(x,"d:\hello\fmod.wav"); end // Ensure the signal is a column vector x = x(:); // Number of FFT windows Q = floor((length(x) - N)/M + 1); // Initialize z z = zeros(N/2, Q); // Generate a matrix whose columns are // segments with length N of the signal // starting at sample indices multiple // of M y = zeros(N, Q); for k=1:Q y(:,k) = x((k-1)*M+1:(k-1)*M+N); end // Compute window function if type(w)==1 w = w(:); else select w case "boxcar" w = 1; case "hann" w = 0.5 - 0.5*cos(2*%pi*[0:N-1]/N)'; case "hamming" w = 0.54 - 0.46*cos(2*%pi*[0:N-1]/N)'; case "blackman" w = 0.42 - 0.5*cos(2*%pi*[0:N-1]/N)' + ... 0.08*cos(4*%pi*[0:N-1]/N)'; case "bharris" w = 0.35875 - 0.48829*cos(2*%pi*[0:N-1]/N)' + ... 0.14128*cos(4*%pi*[0:N-1]/N)' - ... 0.01168*cos(6*%pi*[0:N-1]/N)'; case "flattop" wft = 1 - 1.90796*cos(2*%pi*[0:N-1]/N)' + ... 1.07349*cos(4*%pi*[0:N-1]/N)' - ... 0.18199*cos(6*%pi*[0:N-1]/N)'; end end // Replicate window ww = repmat(w, 1, Q); // FFT of the windowed signal along columns // and conversion to unilateral spectrum z = abs(fft(y.*ww, -1, 1))(1:N/2,:)*2/N; z(1,:) = z(1,:)/2; // Window attenuation compensation W = sqrt(mean(w.^2)); z(2:$,:) = z(2:$,:)/W; z(1,:) = z(1,:)/mean(w); // Starting times of the FFT windows t = (0:Q-1)*M/Fs; // Frequencies of the FFT bins f = (0:N/2-1)*Fs/N; // Graphic output select grph case "lin" figure(); clf(); gcf().color_map= [cmap; [1 1 1]]; gcf().background = 65; Sgrayplot(t, f, z'); case "lincmap" figure(); clf(); gcf().color_map= [cmap; [1 1 1]]; gcf().background = 65; Sgrayplot(t, f, z'); colorbar case "log" figure() clf(); gcf().color_map= [cmap; [1 1 1]]; gcf().background = 65; Sgrayplot(t, f, 20*log10(z')); case "logcmap" figure() clf(); gcf().color_map = [cmap; [1 1 1]]; gcf().background = 65; Sgrayplot(t, f, 20*log10(z')); colorbar end endfunction -------------- next part -------------- // Testing the function spectrogram() // Sample rate i Hz Fs = 44100 // Size of FFT window N = 1024 // Ofset in samples between FFT windows M = 256 // Tapering window function w = "hann" // Type of graphic output grph = "logcmap"; // Time vector in s t = 0:1/Fs:2; // Carrier frequency in Hz fo = 8000 // Modulation frequency in Hz fm = 0.5 // Frequency deviation in Hz df = 4000 // Frequency vector f = fo + df*sin(2*%pi*fm*t); // Phase computed by numerical integration phi = 2*%pi*cumsum(f)/Fs; // Signal generation caso = 3 select caso case 1 // Two harmonics with aliasing x = 0.4*sin(phi) + 0.3*sin(2*phi); case 2 // Two harmonics with aliasing and distortion // by truncation x = sin(phi) + sin(2*phi); x = min(x, ones(x)); case 3 Fs = 22050; t = 0:1/Fs:1*(1-%eps); x = 0.4 + [1.5*sin(2*%pi*800*t) sin(2*%pi*1200*t)]; grph = "lincmap"; end // Save wave as a wav file to compare with external // software such as Audacity //wavwrite(x,"d:\hola\fmod.wav") exec spectrogram.sci; z = spectrogram(x, N, M, Fs, w, grph, "jetcolormap"); From j.s.strom at hslmg.de Wed Jul 14 16:55:53 2021 From: j.s.strom at hslmg.de (Jens Simon Strom) Date: Wed, 14 Jul 2021 16:55:53 +0200 Subject: [Scilab-users] % instead of percent In-Reply-To: <0da4db6c-c71f-2f59-e8e7-f1c7a69a0343@hslmg.de> References: <0da4db6c-c71f-2f59-e8e7-f1c7a69a0343@hslmg.de> Message-ID: Hallo Scilab family, How can I replace /percen/t by the symbol % in the command printf('Change: %5.1f percent \n',5.0) ? I use? Version 6.1.0 Kind regards Jens -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdr at durietz.se Wed Jul 14 17:09:01 2021 From: sdr at durietz.se (Stefan Du Rietz) Date: Wed, 14 Jul 2021 17:09:01 +0200 Subject: [Scilab-users] % instead of percent In-Reply-To: References: <0da4db6c-c71f-2f59-e8e7-f1c7a69a0343@hslmg.de> Message-ID: <99737b2e-b533-9a1c-063f-ec7c077f4138@durietz.se> Hello Jens, by "%%" Stefan On 2021-07-14 16:55, Jens Simon Strom wrote: > Hallo Scilab family, > > How can I replace /percen/t by the symbol % in the command > printf('Change: %5.1f percent \n',5.0) ? > > I use? Version 6.1.0 > > Kind regards > Jens > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From stephane.mottelet at utc.fr Wed Jul 14 17:10:17 2021 From: stephane.mottelet at utc.fr (=?utf-8?Q?St=C3=A9phane_Mottelet?=) Date: Wed, 14 Jul 2021 17:10:17 +0200 Subject: [Scilab-users] % instead of percent In-Reply-To: References: Message-ID: <54949FDA-9CBB-4CD5-9087-2D292897DE08@utc.fr> Double it : %% > Le 14 juil. 2021 ? 17:05, Jens Simon Strom a ?crit : > > ? Hallo Scilab family, > > How can I replace percent by the symbol % in the command > printf('Change: %5.1f percent \n',5.0) ? > > I use Version 6.1.0 > > Kind regards > Jens > > > _______________________________________________ > users mailing list > users at lists.scilab.org > https://antispam.utc.fr/proxy/v3?i=Zk92VEFKaGQ4Ums4cnZEUWMTpfHaXFQGRw1_CnOoOH0&r=bHA1dGV3NWJQVUloaWNFUYH-0fCrCfKNwGzaHK3mGAF34Dbd5QpdXfVRjdiNrR7K&f=SlhDbE9uS2laS2JaZFpNWvypxfeihkZF7xphlFhpLfOsI1HEbZ2YCuIwSI8iQL53&u=http%3A//lists.scilab.org/mailman/listinfo/users&k=XRKU -------------- next part -------------- An HTML attachment was scrubbed... URL: From fmiyara at fceia.unr.edu.ar Wed Jul 14 19:56:31 2021 From: fmiyara at fceia.unr.edu.ar (Federico Miyara) Date: Wed, 14 Jul 2021 14:56:31 -0300 Subject: [Scilab-users] problem with subplot Message-ID: <273f5b07-04d6-7d09-8361-8bdee4557e0b@fceia.unr.edu.ar> Dear All, I'm using subplot to plot several signals. particularly, the three last ones are almost identioal, but the space allocated for all of them is different. The first is taller, the middle ones are visually similar, and the last one is clearly smaller. I think this is not the expected behavior. I know I could tweak some properties of the figure or its children, but I should this should yield the correct layout automatically. Any idea what's going on? Regards, Federico Miyara -- 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: dgbijmjadfkmgcdj.png Type: image/png Size: 62674 bytes Desc: not available URL: From p.muehlmann at gmail.com Thu Jul 15 09:02:16 2021 From: p.muehlmann at gmail.com (P M) Date: Thu, 15 Jul 2021 09:02:16 +0200 Subject: [Scilab-users] Fwd: problem with subplot In-Reply-To: References: <273f5b07-04d6-7d09-8361-8bdee4557e0b@fceia.unr.edu.ar> Message-ID: Hi Federico, my best guess: In your example only subplot(4,1,4) gets the x_label Since this needs space, the diagram is smaller. Workaround: create label for x-axis via xstring Or: Assign a x_label for each subplot, but hide it. This will assign "space" for the label, but it won't be displayed...hence all diagrams should look the same... x = linspace(0,2*%pi,1000)y = sin(x)f = figure();f.background = 8; for i = 1:4 subplot(4,1,i) plot(x,y); a = gca(); a.x_label.text = 't'; a.x_label.visible = 'off';enda.x_label.visible = 'on'; Best Regards, Philipp -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephane.mottelet at utc.fr Thu Jul 15 10:22:12 2021 From: stephane.mottelet at utc.fr (=?UTF-8?Q?St=c3=a9phane_Mottelet?=) Date: Thu, 15 Jul 2021 10:22:12 +0200 Subject: [Scilab-users] Fwd: avoid auto-zoom when rotating a 3D graphic In-Reply-To: References: Message-ID: <73fe796e-23c4-4465-7d9f-e9ebd144eec0@utc.fr> Hi Philip, Here is a possible implementation for the next major release of Scilab (6.2) https://codereview.scilab.org/#/c/21801/ Take a look at the video and tell me if it is OK for you. However, there are still some glitches which have to fo be fixed (e,g, problems when zooming in isoview mode) but we have some time to think about it. S. Le 07/07/2021 ? 08:49, P M a ?crit?: > > Dear, > > is it possible to avoid the effect of auto-zoom / streching? when > rotating a graph in 3D-view?...see result of attached code. > > My best guess is that one would have to set the a.margins according to > the actual a.rotation_angles for each frame....but is there a easier way? > > Thank you, > Philipp > R=23; > N=1000; > nmax=1.1*6*N/%pi; > // Random points in cube 2R*2R*2R > x=grand(nmax,1,'unf',-R,R); > y=grand(nmax,1,'unf',-R,R); > z=grand(nmax,1,'unf',-R,R); > R2=R*R; > // Exclude points outside of sphere with radius R > T=(x^2+y^2+z^2)>R2; > M=[x y z]; > M(T,:)=[]; > [r c]=size(M); > M(((N+1):r), :)=[]; > x=M(:,1); y=M(:,2); z=M(:,3); > f = figure(); > f.background = 8; > f.axes_size = [300,300] > > s = linspace(5, 1, N); > scatter3d(x,y,z,msizes=1,s); > a = gca(); > a.box = "off"; > a.axes_visible = ["off","off","off"]; > a.x_label.visible = "off" > a.y_label.visible = "off" > a.z_label.visible = "off" > > outgif = "Sphere03.gif"; > idGif = animaGIF(gcf(), outgif, 1,2); > for i = 0:360; > a.rotation_angles = [45, i]; > idGif = animaGIF(gcf(), idGif); // Adds the current figure to the GIF stream > end; > animaGIF(idGif); // Closes the GIF stream > > > > > > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://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 fmiyara at fceia.unr.edu.ar Fri Jul 16 02:47:27 2021 From: fmiyara at fceia.unr.edu.ar (Federico Miyara) Date: Thu, 15 Jul 2021 21:47:27 -0300 Subject: [Scilab-users] Fwd: problem with subplot In-Reply-To: References: <273f5b07-04d6-7d09-8361-8bdee4557e0b@fceia.unr.edu.ar> Message-ID: Philipp, Thanks! That's the reason indeed! The workarounds do work but with pitfalls. With xstring() the label moves around when zooming in or out, and xlabel takes too much space, in fact saving space was the reason to place it only on the last plot. Probably it would be possible to adapt the coordinates x, y for xetring to the bounds of the axes, but I'm not sure the positions would be updated when interactively zooming. The desired behavior would be that by default all plots would be the same size or that it would be possible to place a label relative to a figure Regards, Federico On 15/07/2021 04:02, P M wrote: > > Hi Federico, > > my best guess:?? In your example only subplot(4,1,4) gets the x_label > Since this needs space, the diagram is smaller. > > Workaround:??? create label for x-axis via xstring > > Or: > > Assign a x_label for each subplot, but hide it. > This will assign "space" for the label, but it won't be > displayed...hence all diagrams should look the same... > > x = linspace(0,2*%pi,1000) > y = sin(x) > f = figure(); > f.background = 8; > > for i = 1:4 > subplot(4,1,i) > plot(x,y); > a = gca(); > a.x_label.text = 't'; > a.x_label.visible = 'off'; > end > a.x_label.visible = 'on'; > Best Regards, > Philipp > > > > > _______________________________________________ > 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 fmiyara at fceia.unr.edu.ar Fri Jul 16 06:56:01 2021 From: fmiyara at fceia.unr.edu.ar (Federico Miyara) Date: Fri, 16 Jul 2021 01:56:01 -0300 Subject: [Scilab-users] [Posible FRAUDE] Re: Fwd: problem with subplot In-Reply-To: References: <273f5b07-04d6-7d09-8361-8bdee4557e0b@fceia.unr.edu.ar> Message-ID: <621a6f98-d011-ffaf-d5c8-5b7eb2fd8963@fceia.unr.edu.ar> One more detail: if the ylabel of one of the plots is not required, the graph doesn't extend towards the left but has the same width as the others. This is what one would expect from the use of xlabel: its presence or absence shouldn't affect the height of the plot relative to the other plots. Federico On 15/07/2021 21:47, Federico Miyara wrote: > > Philipp, > > Thanks! That's the reason indeed! > > The workarounds do work but with pitfalls. With xstring() the label > moves around when zooming in or out, and xlabel takes too much space, > in fact saving space was the reason to place it only on the last plot. > > Probably it would be possible to adapt the coordinates x, y for > xetring to the bounds of the axes, but I'm not sure the positions > would be updated when interactively zooming. > > The desired behavior would be that by default all plots would be the > same size or that it would be possible to place a label relative to a > figure > > Regards, > > Federico > > > On 15/07/2021 04:02, P M wrote: >> >> Hi Federico, >> >> my best guess:?? In your example only subplot(4,1,4) gets the x_label >> Since this needs space, the diagram is smaller. >> >> Workaround:??? create label for x-axis via xstring >> >> Or: >> >> Assign a x_label for each subplot, but hide it. >> This will assign "space" for the label, but it won't be >> displayed...hence all diagrams should look the same... >> >> x = linspace(0,2*%pi,1000) >> y = sin(x) >> f = figure(); >> f.background = 8; >> >> for i = 1:4 >> subplot(4,1,i) >> plot(x,y); >> a = gca(); >> a.x_label.text = 't'; >> a.x_label.visible = 'off'; >> end >> a.x_label.visible = 'on'; >> Best Regards, >> Philipp >> >> >> >> >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users > > > > Libre de virus. www.avast.com > > > > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > > _______________________________________________ > 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 p.muehlmann at gmail.com Fri Jul 16 14:56:35 2021 From: p.muehlmann at gmail.com (P M) Date: Fri, 16 Jul 2021 14:56:35 +0200 Subject: [Scilab-users] Fwd: avoid auto-zoom when rotating a 3D graphic In-Reply-To: <73fe796e-23c4-4465-7d9f-e9ebd144eec0@utc.fr> References: <73fe796e-23c4-4465-7d9f-e9ebd144eec0@utc.fr> Message-ID: Hi St?phane, this is really looking good. I wish that was possible, when doing an animation with Scilab for this: https://www.youtube.com/watch?v=6NVkBk7_4yM The 3D-like animation starts at around 03:55. Best Regards, Philipp Am Do., 15. Juli 2021 um 10:22 Uhr schrieb St?phane Mottelet < stephane.mottelet at utc.fr>: > Hi Philip, > > Here is a possible implementation for the next major release of Scilab > (6.2) > > https://codereview.scilab.org/#/c/21801/ > > Take a look at the video and tell me if it is OK for you. However, there > are still some glitches which have to fo be fixed (e,g, problems when > zooming in isoview mode) but we have some time to think about it. > > S. > Le 07/07/2021 ? 08:49, P M a ?crit : > > > Dear, > > is it possible to avoid the effect of auto-zoom / streching when rotating > a graph in 3D-view?...see result of attached code. > > My best guess is that one would have to set the a.margins according to > the actual a.rotation_angles for each frame....but is there a easier way? > > Thank you, > Philipp > > R=23;N=1000;nmax=1.1*6*N/%pi;// Random points in cube 2R*2R*2Rx=grand(nmax,1,'unf',-R,R);y=grand(nmax,1,'unf',-R,R);z=grand(nmax,1,'unf',-R,R);R2=R*R;// Exclude points outside of sphere with radius RT=(x^2+y^2+z^2)>R2;M=[x y z];M(T,:)=[];[r c]=size(M);M(((N+1):r), :)=[];x=M(:,1); y=M(:,2); z=M(:,3); f = figure();f.background = 8;f.axes_size = [300,300] > s = linspace(5, 1, N);scatter3d(x,y,z,msizes=1,s);a = gca();a.box = "off";a.axes_visible = ["off","off","off"];a.x_label.visible = "off"a.y_label.visible = "off"a.z_label.visible = "off" > outgif = "Sphere03.gif";idGif = animaGIF(gcf(), outgif, 1,2);for i = 0:360; > a.rotation_angles = [45, i]; > idGif = animaGIF(gcf(), idGif); // Adds the current figure to the GIF streamend;animaGIF(idGif); // Closes the GIF stream > > > > > > > > > > _______________________________________________ > users mailing listusers at lists.scilab.orghttp://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 at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From fmiyara at fceia.unr.edu.ar Fri Jul 16 21:11:48 2021 From: fmiyara at fceia.unr.edu.ar (Federico Miyara) Date: Fri, 16 Jul 2021 16:11:48 -0300 Subject: [Scilab-users] partial fractions Message-ID: <286c21c3-10b7-9610-0314-83770c7ecd07@fceia.unr.edu.ar> Dear All, I'm wonderig whether there is a standard method to obtain the partial fraction expansion of a rational function. Searching, I've found the function pfss(), which purportedly is meant for that, but I find it doesn't give a complete solution. For instance: // Poles and zeros p = [-8:-1]; z = [0 0 0 0]; // Numerator and denominator N = prod(%s - z) D = prod(%s - p) // Rational function H = N/D // Partial fractions HH = pfss(H) The result is HH? = ?????? HH(1) ?? -8 -5.7428571s -3.9515873s? +0.2960317s? -0.0946429s? -0.006746s? -0.0001984s? ------------------------------------------------------------------------------ ????????????? 40320 +69264s +48860s? +18424s? +4025s? +511s? +35s? +s? ?????? HH(2) ?? 0.0001984 ?? --------- ???? 1 +s The second component in the list is indeed one of the partial fractions, but the first one is not an irreductible version. Computing HH(1) + HH(2) yields H with good approximation. I guess I could proceed iteratively with HH(1), but it would be nice to have a function performing this automatically. I couldn't find such a function Regards, Federico Miyara -- 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 Christophe.Dang at sidel.com Mon Jul 19 09:56:31 2021 From: Christophe.Dang at sidel.com (Dang Ngoc Chan, Christophe) Date: Mon, 19 Jul 2021 07:56:31 +0000 Subject: [Scilab-users] Native arm64 build for Mac M1 In-Reply-To: <8ede0a24-f5c4-5223-99ab-c00e70b15ad5@free.fr> References: <611deabe-2b6c-a302-0b9a-2ff2aa143ea0@utc.fr> <8ede0a24-f5c4-5223-99ab-c00e70b15ad5@free.fr> Message-ID: Hello Samuel, > De : users De la part de Samuel Gougeon > Envoy? : jeudi 8 juillet 2021 08:01 > > That's strange : do you confirm that this thread and following ones (*) look no longer archived @ > http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html I confirm I don't see the topic "Native arm64 build for Mac M1" in the list either. Regards -- Christophe Dang Ngoc Chan Mechanical calculation engineer General This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From Clement.David at esi-group.com Tue Jul 20 15:18:33 2021 From: Clement.David at esi-group.com (=?utf-8?B?Q2zDqW1lbnQgRGF2aWQ=?=) Date: Tue, 20 Jul 2021 13:18:33 +0000 Subject: [Scilab-users] Scilab 6.1.1 release Message-ID: 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. From Clement.David at esi-group.com Tue Jul 20 15:35:25 2021 From: Clement.David at esi-group.com (=?utf-8?B?Q2zDqW1lbnQgRGF2aWQ=?=) Date: Tue, 20 Jul 2021 13:35:25 +0000 Subject: [Scilab-users] Scilab 6.1.1 release Message-ID: 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. From cfuttrup at gmail.com Tue Jul 20 15:43:06 2021 From: cfuttrup at gmail.com (Claus Futtrup) Date: Tue, 20 Jul 2021 15:43:06 +0200 Subject: [Scilab-users] Scilab 6.1.1 release In-Reply-To: References: Message-ID: Dear Scilab team Thank you for the wonderful news. Cheers, Claus On 20-07-2021 15:35, 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 list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From heinznabielek at me.com Tue Jul 20 15:56:21 2021 From: heinznabielek at me.com (Heinz Nabielek) Date: Tue, 20 Jul 2021 15:56:21 +0200 Subject: [Scilab-users] Scilab 6.1.1 release In-Reply-To: References: Message-ID: <7A7FDB16-7E8A-4676-91F2-9C8A2A45FEF9@me.com> I downloaded scilab-6.1.1-x86_64.dmg onto my iMac with macOS 10.15.7 (19H1217), but the beast does not start. I had this before, but forgot what needs to be done... Heinz Previously running scilab-branch-6.1.app >> 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. From stephane.mottelet at utc.fr Tue Jul 20 15:58:38 2021 From: stephane.mottelet at utc.fr (=?UTF-8?Q?St=c3=a9phane_Mottelet?=) Date: Tue, 20 Jul 2021 15:58:38 +0200 Subject: [Scilab-users] Scilab 6.1.1 release In-Reply-To: <7A7FDB16-7E8A-4676-91F2-9C8A2A45FEF9@me.com> References: <7A7FDB16-7E8A-4676-91F2-9C8A2A45FEF9@me.com> Message-ID: Did you have scilab-branch-6.1 working before ? Le 20/07/2021 ? 15:56, Heinz Nabielek a ?crit?: > I downloaded scilab-6.1.1-x86_64.dmg onto my iMac with macOS 10.15.7 (19H1217), but the beast does not start. I had this before, but forgot what needs to be done... > Heinz > > Previously running scilab-branch-6.1.app > >>> 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 list > users at lists.scilab.org > http://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 heinznabielek at me.com Tue Jul 20 16:00:32 2021 From: heinznabielek at me.com (Heinz Nabielek) Date: Tue, 20 Jul 2021 16:00:32 +0200 Subject: [Scilab-users] Scilab 6.1.1 release In-Reply-To: References: Message-ID: <0459B7AE-9F86-481E-94FD-276B29FCC11B@me.com> yes ?. heinz. ?. > On 20.07.2021, at 15:59, St?phane Mottelet wrote: > > ?Did you have scilab-branch-6.1 working before ? > >> Le 20/07/2021 ? 15:56, Heinz Nabielek a ?crit : >> I downloaded scilab-6.1.1-x86_64.dmg onto my iMac with macOS 10.15.7 (19H1217), but the beast does not start. I had this before, but forgot what needs to be done... >> Heinz >> >> Previously running scilab-branch-6.1.app >> >>>> 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 list >> users at lists.scilab.org >> http://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 at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From stephane.mottelet at utc.fr Tue Jul 20 16:03:38 2021 From: stephane.mottelet at utc.fr (=?UTF-8?Q?St=c3=a9phane_Mottelet?=) Date: Tue, 20 Jul 2021 16:03:38 +0200 Subject: [Scilab-users] Scilab 6.1.1 release In-Reply-To: <0459B7AE-9F86-481E-94FD-276B29FCC11B@me.com> References: <0459B7AE-9F86-481E-94FD-276B29FCC11B@me.com> Message-ID: can you list the content of /Library/Java/JavaVirtualMachines e.g. on the Terminal $ ls /Library/Java/JavaVirtualMachines Le 20/07/2021 ? 16:00, Heinz Nabielek a ?crit?: > yes > > ?. heinz. ?. > >> On 20.07.2021, at 15:59, St?phane Mottelet wrote: >> >> ?Did you have scilab-branch-6.1 working before ? >> >>> Le 20/07/2021 ? 15:56, Heinz Nabielek a ?crit : >>> I downloaded scilab-6.1.1-x86_64.dmg onto my iMac with macOS 10.15.7 (19H1217), but the beast does not start. I had this before, but forgot what needs to be done... >>> Heinz >>> >>> Previously running scilab-branch-6.1.app >>> >>>>> 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 list >>> users at lists.scilab.org >>> http://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 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 -- 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 heinznabielek at me.com Tue Jul 20 16:51:49 2021 From: heinznabielek at me.com (Heinz Nabielek) Date: Tue, 20 Jul 2021 16:51:49 +0200 Subject: [Scilab-users] Scilab 6.1.1 release In-Reply-To: References: <0459B7AE-9F86-481E-94FD-276B29FCC11B@me.com> Message-ID: <8924AC87-B9ED-4C4C-9DF0-7616545D32B4@me.com> (base) heinz at Heinzs-iMac ~ % ls /Library/Java/JavaVirtualMachines adoptopenjdk-8.jdk jdk-13.0.1.jdk > On 20.07.2021, at 16:03, St?phane Mottelet wrote: > > ls /Library/Java/JavaVirtualMachines From stephane.mottelet at utc.fr Tue Jul 20 16:55:48 2021 From: stephane.mottelet at utc.fr (=?UTF-8?Q?St=c3=a9phane_Mottelet?=) Date: Tue, 20 Jul 2021 16:55:48 +0200 Subject: [Scilab-users] Scilab 6.1.1 release In-Reply-To: <8924AC87-B9ED-4C4C-9DF0-7616545D32B4@me.com> References: <0459B7AE-9F86-481E-94FD-276B29FCC11B@me.com> <8924AC87-B9ED-4C4C-9DF0-7616545D32B4@me.com> Message-ID: Please remove jdk-13.0.1.jdk sudo rm -rf /Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk Then retry to launch Scilab. If Scilab does not start, remove the other one: sudo rm -rf /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk Scilab should start and propose to download and install the adoptopenjdk JRE. Say Yes. S. Le 20/07/2021 ? 16:51, Heinz Nabielek a ?crit?: > (base) heinz at Heinzs-iMac ~ % ls /Library/Java/JavaVirtualMachines > adoptopenjdk-8.jdk jdk-13.0.1.jdk > >> On 20.07.2021, at 16:03, St?phane Mottelet wrote: >> >> ls /Library/Java/JavaVirtualMachines -- 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 heinznabielek at me.com Tue Jul 20 17:07:38 2021 From: heinznabielek at me.com (Heinz Nabielek) Date: Tue, 20 Jul 2021 17:07:38 +0200 Subject: [Scilab-users] Scilab 6.1.1 release In-Reply-To: References: <0459B7AE-9F86-481E-94FD-276B29FCC11B@me.com> <8924AC87-B9ED-4C4C-9DF0-7616545D32B4@me.com> Message-ID: <7FF212C5-8542-4D60-85E6-91390F0AE462@me.com> On 20.07.2021, at 16:55, St?phane Mottelet wrote: > > Please remove jdk-13.0.1.jdk > > sudo rm -rf /Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk DONE > > Then retry to launch Scilab. NO SCILAB START > If Scilab does not start, remove the other one: > > sudo rm -rf /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk DONE > > Scilab should start and propose to download and install the adoptopenjdk JRE. Say Yes. I DID. STILL NO SCILAB START Just a short flash. Heinz (base) heinz at Heinzs-iMac ~ % ls /Library/Java/JavaVirtualMachines adoptopenjdk-8.jdk jdk-13.0.1.jdk (base) heinz at Heinzs-iMac ~ % sudo rm -rf /Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk (base) heinz at Heinzs-iMac ~ % sudo rm -rf /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk (base) heinz at Heinzs-iMac ~ % ls /Library/Java/JavaVirtualMachines (base) heinz at Heinzs-iMac ~ % ls /Library/Java/JavaVirtualMachines adoptopenjdk-8.jre From stephane.mottelet at utc.fr Tue Jul 20 17:13:00 2021 From: stephane.mottelet at utc.fr (=?UTF-8?Q?St=c3=a9phane_Mottelet?=) Date: Tue, 20 Jul 2021 17:13:00 +0200 Subject: [Scilab-users] Scilab 6.1.1 release In-Reply-To: <7FF212C5-8542-4D60-85E6-91390F0AE462@me.com> References: <0459B7AE-9F86-481E-94FD-276B29FCC11B@me.com> <8924AC87-B9ED-4C4C-9DF0-7616545D32B4@me.com> <7FF212C5-8542-4D60-85E6-91390F0AE462@me.com> Message-ID: <457380a3-89ae-4d23-8027-42732877a4bd@utc.fr> Please launch Scilab from the command line (I suppose you dragged the Scilab Icon in the /Applications folder) $ /Applications/scilab-6.1.1.app/Contents/MacOS/scilab And give the nerror message. S. Le 20/07/2021 ? 17:07, Heinz Nabielek a ?crit?: > On 20.07.2021, at 16:55, St?phane Mottelet wrote: >> Please remove jdk-13.0.1.jdk >> >> sudo rm -rf /Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk > DONE >> Then retry to launch Scilab. > NO SCILAB START > >> If Scilab does not start, remove the other one: >> >> sudo rm -rf /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk > DONE > >> Scilab should start and propose to download and install the adoptopenjdk JRE. Say Yes. > > I DID. > > STILL NO SCILAB START > Just a short flash. > Heinz > > (base) heinz at Heinzs-iMac ~ % ls /Library/Java/JavaVirtualMachines > adoptopenjdk-8.jdk jdk-13.0.1.jdk > (base) heinz at Heinzs-iMac ~ % sudo rm -rf /Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk > > (base) heinz at Heinzs-iMac ~ % sudo rm -rf /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk > (base) heinz at Heinzs-iMac ~ % ls /Library/Java/JavaVirtualMachines > > (base) heinz at Heinzs-iMac ~ % ls /Library/Java/JavaVirtualMachines > adoptopenjdk-8.jre -- 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 heinznabielek at me.com Tue Jul 20 18:50:53 2021 From: heinznabielek at me.com (Heinz Nabielek) Date: Tue, 20 Jul 2021 18:50:53 +0200 Subject: [Scilab-users] Scilab 6.1.1 release In-Reply-To: <457380a3-89ae-4d23-8027-42732877a4bd@utc.fr> References: <0459B7AE-9F86-481E-94FD-276B29FCC11B@me.com> <8924AC87-B9ED-4C4C-9DF0-7616545D32B4@me.com> <7FF212C5-8542-4D60-85E6-91390F0AE462@me.com> <457380a3-89ae-4d23-8027-42732877a4bd@utc.fr> Message-ID: <0B89CD39-3229-45AD-A17F-BC0E543C5B6C@me.com> (base) heinz at Heinzs-iMac ~ % /Applications/scilab-6.1.1.app/Contents/MacOS/scilab JavaVM: Failed to load JVM: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jre/Contents/Home/libserver.dylib JavaVM FATAL: Failed to load the jvm library. JavaVM: Failed to load JVM: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jre/Contents/Home/libserver.dylib JavaVM FATAL: Failed to load the jvm library. Error in the creation of the Java VM: Unknown JNI error Options: 0: -Djava.library.path= 1: -Djava.class.path=/Applications/scilab-6.1.1.app/Contents/share/scilab/modules/jvm/jar/org.scilab.modules.jvm.jar 2: -Djava.util.logging.config.file=/Applications/scilab-6.1.1.app/Contents/share/scilab/etc/logging.properties 3: -Djava.compiler=JIT 4: -Xmx256m 5: -Xrs 6: -Dapple.laf.useScreenMenuBar=true 7: -Djogamp.gluegen.UseTempJarCache=false Scilab cannot open JVM library. > On 20.07.2021, at 17:13, St?phane Mottelet wrote: > > /Applications/scilab-6.1.1.app/Contents/MacOS/scilab From stephane.mottelet at utc.fr Wed Jul 21 00:15:33 2021 From: stephane.mottelet at utc.fr (=?UTF-8?Q?St=c3=a9phane_Mottelet?=) Date: Wed, 21 Jul 2021 00:15:33 +0200 Subject: [Scilab-users] Scilab 6.1.1 release In-Reply-To: <0B89CD39-3229-45AD-A17F-BC0E543C5B6C@me.com> References: <0459B7AE-9F86-481E-94FD-276B29FCC11B@me.com> <8924AC87-B9ED-4C4C-9DF0-7616545D32B4@me.com> <7FF212C5-8542-4D60-85E6-91390F0AE462@me.com> <457380a3-89ae-4d23-8027-42732877a4bd@utc.fr> <0B89CD39-3229-45AD-A17F-BC0E543C5B6C@me.com> Message-ID: <84528c50-39b9-918e-72db-849ce7bd9897@utc.fr> Can you do the following: $ cd /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jre/Contents/Home/ $ sudo ln -s bundle/Libraries/libserver.dylib libserver.dylib And tell me if it helps ? On my BigSur virgin install Scilab 6.1.1 does not need this trick to start... S. Le 20/07/2021 ? 18:50, Heinz Nabielek a ?crit?: > (base) heinz at Heinzs-iMac ~ % /Applications/scilab-6.1.1.app/Contents/MacOS/scilab > JavaVM: Failed to load JVM: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jre/Contents/Home/libserver.dylib > JavaVM FATAL: Failed to load the jvm library. > JavaVM: Failed to load JVM: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jre/Contents/Home/libserver.dylib > JavaVM FATAL: Failed to load the jvm library. > Error in the creation of the Java VM: Unknown JNI error > Options: > 0: -Djava.library.path= > 1: -Djava.class.path=/Applications/scilab-6.1.1.app/Contents/share/scilab/modules/jvm/jar/org.scilab.modules.jvm.jar > 2: -Djava.util.logging.config.file=/Applications/scilab-6.1.1.app/Contents/share/scilab/etc/logging.properties > 3: -Djava.compiler=JIT > 4: -Xmx256m > 5: -Xrs > 6: -Dapple.laf.useScreenMenuBar=true > 7: -Djogamp.gluegen.UseTempJarCache=false > > Scilab cannot open JVM library. > > > > >> On 20.07.2021, at 17:13, St?phane Mottelet wrote: >> >> /Applications/scilab-6.1.1.app/Contents/MacOS/scilab -- 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 stephane.mottelet at utc.fr Wed Jul 21 01:37:39 2021 From: stephane.mottelet at utc.fr (=?UTF-8?Q?St=c3=a9phane_Mottelet?=) Date: Wed, 21 Jul 2021 01:37:39 +0200 Subject: [Scilab-users] Scilab 6.1.1 macOS version Message-ID: <91d76440-cb8a-c43a-ca6c-e6ad0c44fdb1@utc.fr> Hi all, Many thanks to Heinz who revealed a problem with the macOS version (Scilab could be launched only when SIP is disabled). It is fixed now and I invite those who downloaded? the macOS version before Tuesday Jul 20 23:35:58 UTC 2021 to download it again. S. -- 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 fmiyara at fceia.unr.edu.ar Wed Jul 21 05:25:22 2021 From: fmiyara at fceia.unr.edu.ar (Federico Miyara) Date: Wed, 21 Jul 2021 00:25:22 -0300 Subject: [Scilab-users] Scilab 6.1.1 release In-Reply-To: References: Message-ID: <1aabc2e8-337c-615f-0454-e7f2c22a0830@fceia.unr.edu.ar> 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 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 samuel.enibe at unn.edu.ng Wed Jul 21 09:03:50 2021 From: samuel.enibe at unn.edu.ng (Samuel Enibe) Date: Wed, 21 Jul 2021 08:03:50 +0100 Subject: [Scilab-users] Scilab 6.1.1 release In-Reply-To: <1aabc2e8-337c-615f-0454-e7f2c22a0830@fceia.unr.edu.ar> References: <1aabc2e8-337c-615f-0454-e7f2c22a0830@fceia.unr.edu.ar> Message-ID: 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 at 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 at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Wed Jul 21 14:48:45 2021 From: sgougeon at free.fr (Samuel Gougeon) Date: Wed, 21 Jul 2021 14:48:45 +0200 Subject: [Scilab-users] Scilab 6.1.1 release In-Reply-To: References: Message-ID: Hello, While the help is complete in the Scilab help browser, 38 help chapters over 55 are missing in the online version of the help @ https://help.scilab.org/docs/6.1.1/en_US/index.html and for other languages. Are missing * all chapters from the modules Linear algebra? to Signal processing? : Linear algebra, Interpolation, CACSD, Polynomials, Signal processing * all chapters from Special functions to XML : Special functions, Statistics, Sparse, UMFPack, Optimization, XML * Input/Output functions * all chapters from the modules Parameters to Advanced functions : Parameters, Strings, Sound, Time, Output functions, Xcos, Spreadsheets, Console, History, Matlab I/O, M2sci, MEx * .. Windows tools, ATOMS, TcL/Tk, Scinotes, UI data * .. Modules manager, Multilinguism, API Scilab, call_scilab API * .. JVM, Java interface, Pr?ferences * slint, web tools Samuel Le 20/07/2021 ? 15:35, Cl?ment David a ?crit?: > 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 list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Wed Jul 21 15:02:51 2021 From: sgougeon at free.fr (Samuel Gougeon) Date: Wed, 21 Jul 2021 15:02:51 +0200 Subject: [Scilab-users] Is http://mailinglists.scilab.org over? Message-ID: Le 19/07/2021 ? 09:56, Dang Ngoc Chan, Christophe a ?crit?: > Hello Samuel, > >> De : users De la part de Samuel Gougeon >> Envoy? : jeudi 8 juillet 2021 08:01 >> >> That's strange : do you confirm that this thread and following ones (*) look no longer archived @ >> http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html > I confirm I don't see the topic "Native arm64 build for Mac M1" in the list either. Thanks Christophe. The same applies to the users-fr@ list, on which last messages posted on 8th and 9th of July about "newaxes et subplot" were not archived. Finally, since yesterday, the whole http://mailinglists.scilab.org website is unreachable. We can't ignore the coincidence with the release of 6.1.1 the same day. Scilab has no longer official truly public mailing lists, and former archives as a knowledge database for 25 years and all corresponding existing cross-references look over. Samuel From Clement.David at esi-group.com Wed Jul 21 15:37:12 2021 From: Clement.David at esi-group.com (=?utf-8?B?Q2zDqW1lbnQgRGF2aWQ=?=) Date: Wed, 21 Jul 2021 13:37:12 +0000 Subject: [Scilab-users] Is http://mailinglists.scilab.org over? In-Reply-To: References: Message-ID: Hello Samuel, hello all, Indeed we noticed that but where in a hurry delivering the 6.1.1 release. The Nabble maintainers stopped the development [1] and started some action to stop the service [2]. IMHO we need to switch to another service for archiving and searching the Scilab mailing lists. We investigated on Discourse a while ago but the operating cost is too costly for us ; there is also an option to have a full switch to Mailman v3 hosted services. Currently there is no free equivalent to Nabble so the mailinglists archive might not be available for a time. Hopefully we can ask Nabble maintainers to restore the access but it really is a temporary solution. [1]: https://support.nabble.com/The-Future-of-Nabble-tt7605923.html [2]: https://support.nabble.com/Downsizing-Nabble-tt7609715.html Regards, Cl?ment > -----Original Message----- > From: users On Behalf Of Samuel Gougeon > Sent: Wednesday, July 21, 2021 3:03 PM > To: International users mailing list for Scilab. > Subject: [Scilab-users] Is http://mailinglists.scilab.org over? > > Le 19/07/2021 ? 09:56, Dang Ngoc Chan, Christophe a ?crit?: > > Hello Samuel, > > > >> De : users De la part de Samuel > >> Gougeon Envoy? : jeudi 8 juillet 2021 08:01 > >> > >> That's strange : do you confirm that this thread and following ones > >> (*) look no longer archived @ > >> http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2 > >> 602246.html > > I confirm I don't see the topic "Native arm64 build for Mac M1" in the list > either. > > > Thanks Christophe. > The same applies to the users-fr@ list, on which last messages posted on 8th > and 9th of July about "newaxes et subplot" were not archived. > > Finally, since yesterday, the whole http://mailinglists.scilab.org website is > unreachable. > We can't ignore the coincidence with the release of 6.1.1 the same day. > > Scilab has no longer official truly public mailing lists, and former archives as a > knowledge database for 25 years and all corresponding existing cross- > references look over. > > Samuel > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From fmiyara at fceia.unr.edu.ar Thu Jul 22 16:42:49 2021 From: fmiyara at fceia.unr.edu.ar (Federico Miyara) Date: Thu, 22 Jul 2021 11:42:49 -0300 Subject: [Scilab-users] Two issues in 6.1.1 Message-ID: <9873d2c4-c19e-27e0-71ea-0cfe38fd3bac@fceia.unr.edu.ar> Dear all, I've found two issues in Scilab 6.1.1. The first is that sometimes (I can't replicate this all the times) the DOS window that opens when running scilex doesn't close properly after launching so we have two items on the task bar the bottom of the screen. The only way to close it is to close the program and hope that next time it will close. The second happens when in a comment the string "todo" appears followed by a space or a colon: the color turns from green to orange: // el m?todo manual // la metodolog?a manual // todo: // TODO: // Todo: // ToDo: // TO do: According to the color settings this is an expected result when at the beginning of a line (I guess it means "things left to do"), but it is not adequate when "todo" is part of another word (like in the Spanish word "m?todo" in the first line). I can confirm this happens only in Scilab 6.1.1. In 6.1.0 it didn't happen, actually in no case the orange highlighting were honoured. Regards. Federico Miyara -- 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 Clement.David at esi-group.com Thu Jul 22 16:58:48 2021 From: Clement.David at esi-group.com (=?utf-8?B?Q2zDqW1lbnQgRGF2aWQ=?=) Date: Thu, 22 Jul 2021 14:58:48 +0000 Subject: [Scilab-users] Two issues in 6.1.1 In-Reply-To: <9873d2c4-c19e-27e0-71ea-0cfe38fd3bac@fceia.unr.edu.ar> References: <9873d2c4-c19e-27e0-71ea-0cfe38fd3bac@fceia.unr.edu.ar> Message-ID: Dear Federico, Thanks for the reports, could you post bugs to https://bugzilla.scilab.org this will let us track the issue and write them into the CHANGES.md document. Regards, Cl?ment From: users On Behalf Of Federico Miyara Sent: Thursday, July 22, 2021 4:43 PM To: Users mailing list for Scilab Subject: [Scilab-users] Two issues in 6.1.1 Dear all, I've found two issues in Scilab 6.1.1. The first is that sometimes (I can't replicate this all the times) the DOS window that opens when running scilex doesn't close properly after launching so we have two items on the task bar the bottom of the screen. The only way to close it is to close the program and hope that next time it will close. The second happens when in a comment the string "todo" appears followed by a space or a colon: the color turns from green to orange: // el m?todo manual // la metodolog?a manual // todo: // TODO: // Todo: // ToDo: // TO do: According to the color settings this is an expected result when at the beginning of a line (I guess it means "things left to do"), but it is not adequate when "todo" is part of another word (like in the Spanish word "m?todo" in the first line). I can confirm this happens only in Scilab 6.1.1. In 6.1.0 it didn't happen, actually in no case the orange highlighting were honoured. Regards. Federico Miyara [https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif] Libre de virus. www.avast.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephane.mottelet at utc.fr Thu Jul 22 22:08:38 2021 From: stephane.mottelet at utc.fr (=?UTF-8?Q?St=c3=a9phane_Mottelet?=) Date: Thu, 22 Jul 2021 22:08:38 +0200 Subject: [Scilab-users] indexing array of rationals Message-ID: Hi all, I thought indexing an array of rationals was possible. Likely this is no possible and this is a pity --> pi ?pi? = ????? ? +2?? ??? ---------- ??? 1 +4? +3?? ??? 0.3333333? ?? ------------ ?? 0.3333333 +? ??? 0.3333333? ?? ------------ ?? 0.3333333 +? ????? ? +2?? ??? ---------- ??? 1 +4? +3?? --> pi(1) ?ans? = ? "r"? "num"? "den"? "dt" Any clue, somebody ? -- 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 fmiyara at fceia.unr.edu.ar Thu Jul 22 23:55:36 2021 From: fmiyara at fceia.unr.edu.ar (Federico Miyara) Date: Thu, 22 Jul 2021 18:55:36 -0300 Subject: [Scilab-users] indexing array of rationals In-Reply-To: References: Message-ID: St?phane, You may try, if k is the index, pi(2)(k)/pi(3)(k) This is because a rational is a list and the first element is a vector of strings describing the structure, not a component of the matrix of rationals. Indeed I think there is not such a thing as a matrix of rationals, but a rational (so, itself a list) whose components 2 and 3 are matrices of polynomials; respectively, numerator and denominator polynomials. When one tries to create a matrix of lists (general lists, not rationals) it yields an error: a = list( 1, "a", %s); b = list( 2, "b", %z); c = [a,b] The error message is Undefined operation for the given operands. check or define function %l_c_l for overloading. When the lists are specifically rtationals, the command works fine, for instance d = [(1+%s)/(1+2*%s), (1-%s)/(1+%s+2*%s^2)] but it is not a matrix of rationals but a rational whose numerator and denominator fields are matrices of polynomials Regards, Federico Miyara On 22/07/2021 17:08, St?phane Mottelet wrote: > Hi all, > > I thought indexing an array of rationals was possible. Likely this is > no possible and this is a pity > > --> pi > ?pi? = > > ????? ? +2?? > ??? ---------- > ??? 1 +4? +3?? > > ??? 0.3333333? > ?? ------------ > ?? 0.3333333 +? > > ??? 0.3333333? > ?? ------------ > ?? 0.3333333 +? > > ????? ? +2?? > ??? ---------- > ??? 1 +4? +3?? > > --> pi(1) > ?ans? = > > ? "r"? "num"? "den"? "dt" > > Any clue, somebody ? > -- 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 fmiyara at fceia.unr.edu.ar Fri Jul 23 01:20:32 2021 From: fmiyara at fceia.unr.edu.ar (Federico Miyara) Date: Thu, 22 Jul 2021 20:20:32 -0300 Subject: [Scilab-users] [Posible FRAUDE] Re: Two issues in 6.1.1 In-Reply-To: References: <9873d2c4-c19e-27e0-71ea-0cfe38fd3bac@fceia.unr.edu.ar> Message-ID: <05dc31f4-4143-cbcd-2991-6b2589d3f012@fceia.unr.edu.ar> Dear Cl?ment, Thanks for the encouragement, I've submitted them as bugs #16718 and #16719. Regards, Federico Miyara On 22/07/2021 11:58, Cl?ment David wrote: > > Dear Federico, > > Thanks for the reports, could you post bugs to > https://bugzilla.scilab.org this will let us track the issue and write > them into the CHANGES.md document. > > Regards, > > Cl?ment > > *From:*users *On Behalf Of *Federico > Miyara > *Sent:* Thursday, July 22, 2021 4:43 PM > *To:* Users mailing list for Scilab > *Subject:* [Scilab-users] Two issues in 6.1.1 > > > Dear all, > > I've found two issues in Scilab 6.1.1. The first is that sometimes (I > can't replicate this all the times) the DOS window that opens when > running scilex doesn't close properly after launching so we have two > items on the task bar the bottom of the screen. The only way to close > it is to close the program and hope that next time it will close. > > The second happens when in a comment the string "todo" appears > followed by a space or a colon: the color turns from green to orange: > > /// el m?//todo manual/ > /// la metodolog?a manual/ > /// //todo:/// > /// //TODO:/// > /// //Todo:/ > /// ToDo: / > /// TO do:/ > > According to the color settings this is an expected result when at the > beginning of a line (I guess it means "things left to do"), but it is > not adequate when "todo" is part of another word (like in the Spanish > word "m?todo" in the first line). I can confirm this happens only in > Scilab 6.1.1. In 6.1.0 it didn't happen, actually in no case the > orange highlighting were honoured. > > Regards. > > Federico Miyara > > > > > > Libre de virus. www.avast.com > > > > > _______________________________________________ > 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 sgougeon at free.fr Fri Jul 23 01:51:08 2021 From: sgougeon at free.fr (Samuel Gougeon) Date: Fri, 23 Jul 2021 01:51:08 +0200 Subject: [Scilab-users] indexing array of rationals In-Reply-To: References: Message-ID: <2fa5375f-e6ae-1c7a-ef7e-0e00cf47826e@free.fr> Hello Le 22/07/2021 ? 22:08, St?phane Mottelet a ?crit?: > Hi all, > > I thought indexing an array of rationals was possible. Likely this is > no possible and this is a pity > > --> pi > ?pi? = > > ????? ? +2?? > ??? ---------- > ??? 1 +4? +3?? > > ??? 0.3333333? > ?? ------------ > ?? 0.3333333 +? > > ??? 0.3333333? > ?? ------------ > ?? 0.3333333 +? > > ????? ? +2?? > ??? ---------- > ??? 1 +4? +3?? > > --> pi(1) > ?ans? = > > ? "r"? "num"? "den"? "dt" > > Any clue, somebody ? The special syntax pi(1,0) does it since 6.0.2, as documented @ https://help.scilab.org/docs/6.1.1/en_US/rational.html From sgougeon at free.fr Fri Jul 23 18:54:59 2021 From: sgougeon at free.fr (Samuel Gougeon) Date: Fri, 23 Jul 2021 18:54:59 +0200 Subject: [Scilab-users] fullpath * crashes 6.1.1 In-Reply-To: <2b96e34b-4f8e-d3f5-ac3d-bbf54b10409c@free.fr> References: <90dcc221-c893-a940-9951-8b3edf7be454@fceia.unr.edu.ar> <2b96e34b-4f8e-d3f5-ac3d-bbf54b10409c@free.fr> Message-ID: <920ccb72-e994-f5a8-0c7d-8acf46129bce@free.fr> Hello, Le 10/07/2021 ? 23:37, Samuel Gougeon a ?crit?: > Le 10/07/2021 ? 16:11, Samuel Gougeon a ?crit?: >> Hello Federico, >> >> I confirm this issue. It appeared in Scilab 6.1.0 and? occurs only >> when pwd() and the filename are on the same disk. >> It comes from a change of behavior of mopen(), and so may occurs for >> many other functions using mopen(). >> >> Regards >> Samuel > > > fullpath() -- that was changed in january 2020 -- is the final guilty: > > --> pwd > ?ans? = > ? "D:\Softs" > > --> fullpath("D:\test.wav") > ?ans? = > ? "D:\Softs\test.wav" unlike Scilab 6.1.0, Scilab 6.1.1 on Windows crashes with *fullpath("SCI\modules\core\macros\*.sci")* The crash occurs only a) when the path exists, AND b) * is used in the filename. It was still not the case with the dev branch of 2021-07-07, that is the last build available for windows, 7 days before fullpath was fixed for the hereabove issue. This noticeably kills uman(), at least its refresh "r" option that is also run automatically at initialization and every change of the local ATOMS list. And i guess many other codes. Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephane.mottelet at utc.fr Fri Jul 23 21:45:43 2021 From: stephane.mottelet at utc.fr (=?UTF-8?Q?St=c3=a9phane_Mottelet?=) Date: Fri, 23 Jul 2021 21:45:43 +0200 Subject: [Scilab-users] fullpath * crashes 6.1.1 In-Reply-To: <920ccb72-e994-f5a8-0c7d-8acf46129bce@free.fr> References: <90dcc221-c893-a940-9951-8b3edf7be454@fceia.unr.edu.ar> <2b96e34b-4f8e-d3f5-ac3d-bbf54b10409c@free.fr> <920ccb72-e994-f5a8-0c7d-8acf46129bce@free.fr> Message-ID: <348021dd-7456-bfbb-1faa-8068475e85c6@utc.fr> Hi, It seems specific to Windows (the following test is done on macOS) : --> fullpath("SCI\modules\core\macros\*.sci") ?ans? = "/Applications/scilab-6.1.1.app/Contents/share/scilab/modules/core/macros/*.sci" Really weird, since now we have exactly the same code for Windows and others. S. Le 23/07/2021 ? 18:54, Samuel Gougeon a ?crit?: > Hello, > > Le 10/07/2021 ? 23:37, Samuel Gougeon a ?crit?: >> Le 10/07/2021 ? 16:11, Samuel Gougeon a ?crit?: >>> Hello Federico, >>> >>> I confirm this issue. It appeared in Scilab 6.1.0 and? occurs only >>> when pwd() and the filename are on the same disk. >>> It comes from a change of behavior of mopen(), and so may occurs for >>> many other functions using mopen(). >>> >>> Regards >>> Samuel >> >> >> fullpath() -- that was changed in january 2020 -- is the final guilty: >> >> --> pwd >> ?ans? = >> ? "D:\Softs" >> >> --> fullpath("D:\test.wav") >> ?ans? = >> ? "D:\Softs\test.wav" > > > unlike Scilab 6.1.0, Scilab 6.1.1 on Windows crashes with > > *fullpath("SCI\modules\core\macros\*.sci")* > > The crash occurs only a) when the path exists, AND b) * is used in the > filename. > > It was still not the case with the dev branch of 2021-07-07, that is > the last build available for windows, 7 days before fullpath was fixed > for the hereabove issue. > > This noticeably kills uman(), at least its refresh "r" option that is > also run automatically at initialization and every change of the local > ATOMS list. > > And i guess many other codes. > > Samuel > > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://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 Clement.David at esi-group.com Mon Jul 26 09:26:07 2021 From: Clement.David at esi-group.com (=?utf-8?B?Q2zDqW1lbnQgRGF2aWQ=?=) Date: Mon, 26 Jul 2021 07:26:07 +0000 Subject: [Scilab-users] fullpath * crashes 6.1.1 In-Reply-To: <348021dd-7456-bfbb-1faa-8068475e85c6@utc.fr> References: <90dcc221-c893-a940-9951-8b3edf7be454@fceia.unr.edu.ar> <2b96e34b-4f8e-d3f5-ac3d-bbf54b10409c@free.fr> <920ccb72-e994-f5a8-0c7d-8acf46129bce@free.fr> <348021dd-7456-bfbb-1faa-8068475e85c6@utc.fr> Message-ID: Hello all, Thanks for the early report, could you please report the issue on bugzilla.scilab.org to allow a quick fix with a non-regression test ? Regards, Cl?ment From: users On Behalf Of St?phane Mottelet Sent: Friday, July 23, 2021 9:46 PM To: users at lists.scilab.org Subject: Re: [Scilab-users] fullpath * crashes 6.1.1 Hi, It seems specific to Windows (the following test is done on macOS) : --> fullpath("SCI\modules\core\macros\*.sci") ans = "/Applications/scilab-6.1.1.app/Contents/share/scilab/modules/core/macros/*.sci" Really weird, since now we have exactly the same code for Windows and others. S. Le 23/07/2021 ? 18:54, Samuel Gougeon a ?crit : Hello, Le 10/07/2021 ? 23:37, Samuel Gougeon a ?crit : Le 10/07/2021 ? 16:11, Samuel Gougeon a ?crit : Hello Federico, I confirm this issue. It appeared in Scilab 6.1.0 and occurs only when pwd() and the filename are on the same disk. It comes from a change of behavior of mopen(), and so may occurs for many other functions using mopen(). Regards Samuel fullpath() -- that was changed in january 2020 -- is the final guilty: --> pwd ans = "D:\Softs" --> fullpath("D:\test.wav") ans = "D:\Softs\test.wav" unlike Scilab 6.1.0, Scilab 6.1.1 on Windows crashes with fullpath("SCI\modules\core\macros\*.sci") The crash occurs only a) when the path exists, AND b) * is used in the filename. It was still not the case with the dev branch of 2021-07-07, that is the last build available for windows, 7 days before fullpath was fixed for the hereabove issue. This noticeably kills uman(), at least its refresh "r" option that is also run automatically at initialization and every change of the local ATOMS list. And i guess many other codes. Samuel _______________________________________________ users mailing list users at lists.scilab.org http://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 samuel.enibe at unn.edu.ng Tue Jul 27 17:16:59 2021 From: samuel.enibe at unn.edu.ng (Samuel Enibe) Date: Tue, 27 Jul 2021 16:16:59 +0100 Subject: [Scilab-users] Plot Graphs on Different Axes Message-ID: I have the following sets of data: x1 = [0 10 20 30 40 50 60 70 80 90]; y1 = [12.27 12.09 11.53 10.63 9.4 7.89 6.14 4.2 2.13 0]; x2 = [2 1.5 1 0.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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From denis.crete at thalesgroup.com Tue Jul 27 17:58:08 2021 From: denis.crete at thalesgroup.com (CRETE Denis) Date: Tue, 27 Jul 2021 15:58:08 +0000 Subject: [Scilab-users] Plot Graphs on Different Axes In-Reply-To: References: Message-ID: <6324f35cf3784fda8b20742082edb785@thalesgroup.com> 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.53 10.63 9.4 7.89 6.14 4.2 2.13 0]; x2 = [2 1.5 1 0.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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Christophe.Dang at sidel.com Tue Jul 27 18:24:30 2021 From: Christophe.Dang at sidel.com (Dang Ngoc Chan, Christophe) Date: Tue, 27 Jul 2021 16:24:30 +0000 Subject: [Scilab-users] Plot Graphs on Different Axes In-Reply-To: References: Message-ID: Hello Samuel > De : De la part de Samuel Enibe > Envoy? : mardi 27 juillet 2021 17:17 > > 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. I'm not sure what you want to do but you may try something like this: a1 = newaxes(); a1.tight_limits = "on"; plot(x1, y1); a2 = newaxes(); a2.tight_limits = "on"; a2.x_location = "top"; a2.y_location = "right"; plot(x2, y2); HTH -- Christophe Dang Ngoc Chan Mechanical calculation engineer General This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From fmiyara at fceia.unr.edu.ar Wed Jul 28 08:50:16 2021 From: fmiyara at fceia.unr.edu.ar (Federico Miyara) Date: Wed, 28 Jul 2021 03:50:16 -0300 Subject: [Scilab-users] Question on the use of dos Message-ID: <2f2d76fc-459d-fedc-d228-56dd08f1f023@fceia.unr.edu.ar> Dear all, I need to use dos() to run an external command line application and have been experimanting a bit. I run the following: commands = "H: cd SOFTWARE\FLAC\ dir" [output, bOK, exitcode] = dos(commands, "-echo") or commands = "H: cd SOFTWARE cd FLAC dir" [output, bOK, exitcode] = dos(commands, "-echo") The bOK argument returns T so it seems it worked properly, however I don't get any echo in the console. I should see the comntent of the directory FLAC. What am I doing wrong? Regards, Federico Miyara -- 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 samuel.enibe at unn.edu.ng Wed Jul 28 10:05:32 2021 From: samuel.enibe at unn.edu.ng (Samuel Enibe) Date: Wed, 28 Jul 2021 09:05:32 +0100 Subject: [Scilab-users] Plot Graphs on Different Axes In-Reply-To: <6324f35cf3784fda8b20742082edb785@thalesgroup.com> References: <6324f35cf3784fda8b20742082edb785@thalesgroup.com> Message-ID: 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.53 10.63 9.4 7.89 6.14 4.2 > 2.13 0]; > > x2 = [2 1.5 1 0.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 at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From samuel.enibe at unn.edu.ng Wed Jul 28 10:16:22 2021 From: samuel.enibe at unn.edu.ng (Samuel Enibe) Date: Wed, 28 Jul 2021 09:16:22 +0100 Subject: [Scilab-users] Plot Graphs on Different Axes In-Reply-To: References: <6324f35cf3784fda8b20742082edb785@thalesgroup.com> Message-ID: 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.53 10.63 9.4 7.89 6.14 4.2 >> 2.13 0]; >> >> x2 = [2 1.5 1 0.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 at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From denis.crete at thalesgroup.com Wed Jul 28 11:15:52 2021 From: denis.crete at thalesgroup.com (CRETE Denis) Date: Wed, 28 Jul 2021 09:15:52 +0000 Subject: [Scilab-users] Plot Graphs on Different Axes In-Reply-To: References: <6324f35cf3784fda8b20742082edb785@thalesgroup.com> Message-ID: <6a03f321f0b244a8aeaa7d0d97a74c32@thalesgroup.com> 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.53 10.63 9.4 7.89 6.14 4.2 2.13 0]; x2 = [2 1.5 1 0.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 at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From arctica1963 at gmail.com Wed Jul 28 15:57:59 2021 From: arctica1963 at gmail.com (Lester Anderson) Date: Wed, 28 Jul 2021 14:57:59 +0100 Subject: [Scilab-users] Odd behaviour with dos() function Message-ID: Hello all, This has been queried previously without an obvious solution. For example: [output, bOK]=dos('grdinfo Test_10-FAA.grd') Fails with bOK = F Adding 'start grdinfo Test_10-FAA.grd gives bOK=T but now dos window console with the result The only way to get the out put shown below is to put the commands into a bathch file: grd-info.bat (containing the command stream grdinfo Test_10-FAA.grd Such that the dos function becomes: [out,TF]=dos('start grd-info.bat'); out, TF \D_Drive\Geoscience\Scilab>grdinfo Test_10-FAA.grd Test_10-FAA.grd: Title: Test_10-FAA.grd: Command: grdsample -R-10/10/-10/10 -I1m @GMTAPI at -000001 -Gc:\Temp\Test_10-FAA.grd -fg --GMT_HISTORY=false Test_10-FAA.grd: Remark: Test_10-FAA.grd: Pixel node registration used [Geographic grid] Test_10-FAA.grd: Grid file format: nf = GMT netCDF format (32-bit float), CF-1.7 Test_10-FAA.grd: x_min: -10 x_max: 10 x_inc: 0.0166666666667 (1 min) name: longitude n_columns: 1200 Test_10-FAA.grd: y_min: -10 y_max: 10 y_inc: 0.0166666666667 (1 min) name: latitude n_rows: 1200 Test_10-FAA.grd: v_min: -104.96169281 v_max: 456.651062012 name: z Test_10-FAA.grd: scale_factor: 1 add_offset: 0 Test_10-FAA.grd: format: netCDF-4 chunk_size: 134,134 shuffle: on deflation_level: 3 However, even with this workaround, nothing is written to the variable 'out'. The program 'grdinfo' is in the Windows path, so should be run without using start. In the past, the function did work. Basic Windows commands like {out, TF]=dos('dir') works. I have verified that nothing is written to the consolebox. In addition, this is a new computer and new install of Scilab 6.1.1 Also, the same function under Octave runs correctly as dos('grdinfo Test_10-FAA.grd'), and I am assuming the Scilab version should behave the same. Since the mailinglists section is no longer functional, I cannot check for possible solutions or pointers. Apologies if this is repeating my previous query on the issue. Thanks Lester -------------- next part -------------- An HTML attachment was scrubbed... URL: From fmiyara at fceia.unr.edu.ar Wed Jul 28 17:31:11 2021 From: fmiyara at fceia.unr.edu.ar (Federico Miyara) Date: Wed, 28 Jul 2021 12:31:11 -0300 Subject: [Scilab-users] Odd behaviour with dos() function In-Reply-To: References: Message-ID: Lester, I don't know whether your post is related to my earlier message or it is just that we both have had the same problem. Unfortunately the documentation isn't clear enough, for instance it says: ? commands ? Single text containing instructions sent to the MS Windows cmd.exe command interpreter. but it doesn't say how the instructions should be connected. They could be separated by commas, by spaces, by semicolons... Seemingly it is by spaces (at least this way the bOK argumet is True), but there could be some ambiguity, for instance if one wants to change directory and the directory contains two words and the second is also a command or a program. On the other hand the expression "single text" is not clear. What is a "text" in Scilab? Text is meaningless, in Scilab we have strings, and "single" is somewhat vague. Does it mean a one-component string? Your workaround of using a batch may work, but it requires the extra job of creating and saving it and at the end deleting it, which should be automatic. Regards, Federico Miyara On 28/07/2021 10:57, Lester Anderson wrote: > Hello all, > > This has been queried previously without an obvious solution. > > For example: [output, bOK]=dos('grdinfo Test_10-FAA.grd') > Fails with bOK = F > > Adding 'start grdinfo Test_10-FAA.grd gives bOK=T but now dos window > console with the result > > The only way to get the out put shown below is to put the commands > into a bathch ?file: > grd-info.bat (containing the command stream grdinfo Test_10-FAA.grd > > Such that the dos function becomes: [out,TF]=dos('start > grd-info.bat'); out, TF > > \D_Drive\Geoscience\Scilab>grdinfo Test_10-FAA.grd > Test_10-FAA.grd: Title: > Test_10-FAA.grd: Command: grdsample -R-10/10/-10/10 -I1m > @GMTAPI at -000001 -Gc:\Temp\Test_10-FAA.grd -fg --GMT_HISTORY=false > Test_10-FAA.grd: Remark: > Test_10-FAA.grd: Pixel node registration used [Geographic grid] > Test_10-FAA.grd: Grid file format: nf = GMT netCDF format (32-bit > float), CF-1.7 > Test_10-FAA.grd: x_min: -10 x_max: 10 x_inc: 0.0166666666667 (1 min) > name: longitude n_columns: 1200 > Test_10-FAA.grd: y_min: -10 y_max: 10 y_inc: 0.0166666666667 (1 min) > name: latitude n_rows: 1200 > Test_10-FAA.grd: v_min: -104.96169281 v_max: 456.651062012 name: z > Test_10-FAA.grd: scale_factor: 1 add_offset: 0 > Test_10-FAA.grd: format: netCDF-4 chunk_size: 134,134 shuffle: on > deflation_level: 3 > > However, even with this workaround, nothing is written to the variable > 'out'. The program 'grdinfo' is in the Windows path, so should be run > without using start. In the past, the function did work. Basic Windows > commands like {out, TF]=dos('dir') works. > > I have verified that nothing is written to the consolebox. In > addition, this is a new computer and new install of Scilab 6.1.1 > Also, the same function under Octave runs correctly as dos('grdinfo > Test_10-FAA.grd'), and I am assuming the Scilab version should behave > the same. > > Since the mailinglists section is no longer functional, I cannot check > for possible solutions or pointers. Apologies if this is repeating my > previous query on the issue. > > Thanks > > Lester > > _______________________________________________ > 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 samuel.enibe at unn.edu.ng Wed Jul 28 17:38:38 2021 From: samuel.enibe at unn.edu.ng (Samuel Enibe) Date: Wed, 28 Jul 2021 16:38:38 +0100 Subject: [Scilab-users] Plot Graphs on Different Axes In-Reply-To: <6a03f321f0b244a8aeaa7d0d97a74c32@thalesgroup.com> References: <6324f35cf3784fda8b20742082edb785@thalesgroup.com> <6a03f321f0b244a8aeaa7d0d97a74c32@thalesgroup.com> Message-ID: 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.53 10.63 9.4 7.89 6.14 4.2 > 2.13 0]; > > x2 = [2 1.5 1 0.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 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: example402b.sce Type: application/x-scilab-sce Size: 1553 bytes Desc: not available URL: From arctica1963 at gmail.com Wed Jul 28 18:38:07 2021 From: arctica1963 at gmail.com (Lester Anderson) Date: Wed, 28 Jul 2021 17:38:07 +0100 Subject: [Scilab-users] Odd behaviour with dos() function In-Reply-To: References: Message-ID: Hi Federico, I found a workaround solution (trial and error) that is not documented: [out,TF]=dos("start | grdinfo Test_10-FAA.grd"); out, TF - A solution using piping. Perhaps someone can explain further, but it looks like 'start' initiates the command window and then the commands on the right of the pipe symbol are fed through the cmd , although normally it goes the other way round? This gives the result expected and also pipes to the console: [out,TF]=dos("start | grdinfo Test_10-FAA.grd"); out, TF out = "Test_10-FAA.grd: Title: " "Test_10-FAA.grd: Command: grdsample -R-10/10/-10/10 -I1m @GMTAPI at -000001 -Gc:\Temp\Test_10-FAA.grd -fg --GMT_HISTORY=false" "Test_10-FAA.grd: Remark: " "Test_10-FAA.grd: Pixel node registration used [Geographic grid]" "Test_10-FAA.grd: Grid file format: nf = GMT netCDF format (32-bit float), CF-1.7" "Test_10-FAA.grd: x_min: -10 x_max: 10 x_inc: 0.0166666666667 (1 min) name: longitude n_columns: 1200" "Test_10-FAA.grd: y_min: -10 y_max: 10 y_inc: 0.0166666666667 (1 min) name: latitude n_rows: 1200" "Test_10-FAA.grd: v_min: -104.96169281 v_max: 456.651062012 name: z" "Test_10-FAA.grd: scale_factor: 1 add_offset: 0" "Test_10-FAA.grd: format: netCDF-4 chunk_size: 134,134 shuffle: on deflation_level: 3" TF = T I am pretty sure we never had to do this in earlier 5.x versions? So not sure if the documentation needs more clarity or there are missing/extra parameters to consider. Lester On Wed, 28 Jul 2021 at 16:31, Federico Miyara wrote: > > Lester, > > I don't know whether your post is related to my earlier message or it is > just that we both have had the same problem. > > Unfortunately the documentation isn't clear enough, for instance it says: > > commands > Single text containing instructions sent to the MS Windows cmd.exe > command interpreter. > > but it doesn't say how the instructions should be connected. They could be > separated by commas, by spaces, by semicolons... Seemingly it is by spaces > (at least this way the bOK argumet is True), but there could be some > ambiguity, for instance if one wants to change directory and the directory > contains two words and the second is also a command or a program. > > On the other hand the expression "single text" is not clear. What is a > "text" in Scilab? Text is meaningless, in Scilab we have strings, and > "single" is somewhat vague. Does it mean a one-component string? > > Your workaround of using a batch may work, but it requires the extra job > of creating and saving it and at the end deleting it, which should be > automatic. > > Regards, > > Federico Miyara > > > On 28/07/2021 10:57, Lester Anderson wrote: > > Hello all, > > This has been queried previously without an obvious solution. > > For example: [output, bOK]=dos('grdinfo Test_10-FAA.grd') > Fails with bOK = F > > Adding 'start grdinfo Test_10-FAA.grd gives bOK=T but now dos window > console with the result > > The only way to get the out put shown below is to put the commands into a > bathch file: > grd-info.bat (containing the command stream grdinfo Test_10-FAA.grd > > Such that the dos function becomes: [out,TF]=dos('start grd-info.bat'); > out, TF > > \D_Drive\Geoscience\Scilab>grdinfo Test_10-FAA.grd > Test_10-FAA.grd: Title: > Test_10-FAA.grd: Command: grdsample -R-10/10/-10/10 -I1m @GMTAPI at -000001 > -Gc:\Temp\Test_10-FAA.grd -fg --GMT_HISTORY=false > Test_10-FAA.grd: Remark: > Test_10-FAA.grd: Pixel node registration used [Geographic grid] > Test_10-FAA.grd: Grid file format: nf = GMT netCDF format (32-bit float), > CF-1.7 > Test_10-FAA.grd: x_min: -10 x_max: 10 x_inc: 0.0166666666667 (1 min) name: > longitude n_columns: 1200 > Test_10-FAA.grd: y_min: -10 y_max: 10 y_inc: 0.0166666666667 (1 min) name: > latitude n_rows: 1200 > Test_10-FAA.grd: v_min: -104.96169281 v_max: 456.651062012 name: z > Test_10-FAA.grd: scale_factor: 1 add_offset: 0 > Test_10-FAA.grd: format: netCDF-4 chunk_size: 134,134 shuffle: on > deflation_level: 3 > > However, even with this workaround, nothing is written to the variable > 'out'. The program 'grdinfo' is in the Windows path, so should be run > without using start. In the past, the function did work. Basic Windows > commands like {out, TF]=dos('dir') works. > > I have verified that nothing is written to the consolebox. In addition, > this is a new computer and new install of Scilab 6.1.1 > Also, the same function under Octave runs correctly as dos('grdinfo > Test_10-FAA.grd'), and I am assuming the Scilab version should behave the > same. > > Since the mailinglists section is no longer functional, I cannot check for > possible solutions or pointers. Apologies if this is repeating my previous > query on the issue. > > Thanks > > Lester > > _______________________________________________ > users mailing listusers at lists.scilab.orghttp://lists.scilab.org/mailman/listinfo/users > > > > > Libre > de virus. www.avast.com > > <#m_-4480437246932235519_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From fmiyara at fceia.unr.edu.ar Thu Jul 29 00:54:21 2021 From: fmiyara at fceia.unr.edu.ar (Federico Miyara) Date: Wed, 28 Jul 2021 19:54:21 -0300 Subject: [Scilab-users] Odd behaviour with dos() function In-Reply-To: References: Message-ID: I do the following: comands = "start | dir H:\ " dos(comands, "-echo") Then a command line DOS window opens at the workihg directory of Scilab, and doesn't close. Any further action I attempt with Scilab causes a program crash. The same happens without the pipe symbol |. Regards, Federico Miyara On 28/07/2021 10:57, Lester Anderson wrote: > Hello all, > > This has been queried previously without an obvious solution. > > For example: [output, bOK]=dos('grdinfo Test_10-FAA.grd') > Fails with bOK = F > > Adding 'start grdinfo Test_10-FAA.grd gives bOK=T but now dos window > console with the result > > The only way to get the out put shown below is to put the commands > into a bathch ?file: > grd-info.bat (containing the command stream grdinfo Test_10-FAA.grd > > Such that the dos function becomes: [out,TF]=dos('start > grd-info.bat'); out, TF > > \D_Drive\Geoscience\Scilab>grdinfo Test_10-FAA.grd > Test_10-FAA.grd: Title: > Test_10-FAA.grd: Command: grdsample -R-10/10/-10/10 -I1m > @GMTAPI at -000001 -Gc:\Temp\Test_10-FAA.grd -fg --GMT_HISTORY=false > Test_10-FAA.grd: Remark: > Test_10-FAA.grd: Pixel node registration used [Geographic grid] > Test_10-FAA.grd: Grid file format: nf = GMT netCDF format (32-bit > float), CF-1.7 > Test_10-FAA.grd: x_min: -10 x_max: 10 x_inc: 0.0166666666667 (1 min) > name: longitude n_columns: 1200 > Test_10-FAA.grd: y_min: -10 y_max: 10 y_inc: 0.0166666666667 (1 min) > name: latitude n_rows: 1200 > Test_10-FAA.grd: v_min: -104.96169281 v_max: 456.651062012 name: z > Test_10-FAA.grd: scale_factor: 1 add_offset: 0 > Test_10-FAA.grd: format: netCDF-4 chunk_size: 134,134 shuffle: on > deflation_level: 3 > > However, even with this workaround, nothing is written to the variable > 'out'. The program 'grdinfo' is in the Windows path, so should be run > without using start. In the past, the function did work. Basic Windows > commands like {out, TF]=dos('dir') works. > > I have verified that nothing is written to the consolebox. In > addition, this is a new computer and new install of Scilab 6.1.1 > Also, the same function under Octave runs correctly as dos('grdinfo > Test_10-FAA.grd'), and I am assuming the Scilab version should behave > the same. > > Since the mailinglists section is no longer functional, I cannot check > for possible solutions or pointers. Apologies if this is repeating my > previous query on the issue. > > Thanks > > Lester > > _______________________________________________ > 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 fmiyara at fceia.unr.edu.ar Sat Jul 31 00:23:54 2021 From: fmiyara at fceia.unr.edu.ar (Federico Miyara) Date: Fri, 30 Jul 2021 19:23:54 -0300 Subject: [Scilab-users] [Posible FRAUDE] Re: Odd behaviour with dos() function In-Reply-To: References: Message-ID: I think I've finally arrived at a solution for multiple commands when using dos(). That is to use the "&&" command separator, which is mentioned in the cmnd.exe help. I think even those of us who have made our first steps in the personal computing world in the DOS age aren't generally familiar with this separator because when we used DOS we just wrote our commands one after the other just pressing Enter between them. The && allows a sort of in-line batch. This should be mentioned in the dos() documentation and a few more examples provided. Regards, Federico Miyara On 28/07/2021 19:54, Federico Miyara wrote: > > I do the following: > > comands = "start | dir H:\ " > dos(comands, "-echo") > > Then a command line DOS window opens at the workihg directory of > Scilab, and doesn't close. > > Any further action I attempt with Scilab causes a program crash. The > same happens without the pipe symbol |. > > Regards, > > Federico Miyara > > > > On 28/07/2021 10:57, Lester Anderson wrote: >> Hello all, >> >> This has been queried previously without an obvious solution. >> >> For example: [output, bOK]=dos('grdinfo Test_10-FAA.grd') >> Fails with bOK = F >> >> Adding 'start grdinfo Test_10-FAA.grd gives bOK=T but now dos window >> console with the result >> >> The only way to get the out put shown below is to put the commands >> into a bathch ?file: >> grd-info.bat (containing the command stream grdinfo Test_10-FAA.grd >> >> Such that the dos function becomes: [out,TF]=dos('start >> grd-info.bat'); out, TF >> >> \D_Drive\Geoscience\Scilab>grdinfo Test_10-FAA.grd >> Test_10-FAA.grd: Title: >> Test_10-FAA.grd: Command: grdsample -R-10/10/-10/10 -I1m >> @GMTAPI at -000001 -Gc:\Temp\Test_10-FAA.grd -fg --GMT_HISTORY=false >> Test_10-FAA.grd: Remark: >> Test_10-FAA.grd: Pixel node registration used [Geographic grid] >> Test_10-FAA.grd: Grid file format: nf = GMT netCDF format (32-bit >> float), CF-1.7 >> Test_10-FAA.grd: x_min: -10 x_max: 10 x_inc: 0.0166666666667 (1 min) >> name: longitude n_columns: 1200 >> Test_10-FAA.grd: y_min: -10 y_max: 10 y_inc: 0.0166666666667 (1 min) >> name: latitude n_rows: 1200 >> Test_10-FAA.grd: v_min: -104.96169281 v_max: 456.651062012 name: z >> Test_10-FAA.grd: scale_factor: 1 add_offset: 0 >> Test_10-FAA.grd: format: netCDF-4 chunk_size: 134,134 shuffle: on >> deflation_level: 3 >> >> However, even with this workaround, nothing is written to the >> variable 'out'. The program 'grdinfo' is in the Windows path, so >> should be run without using start. In the past, the function did >> work. Basic Windows commands like {out, TF]=dos('dir') works. >> >> I have verified that nothing is written to the consolebox. In >> addition, this is a new computer and new install of Scilab 6.1.1 >> Also, the same function under Octave runs correctly as dos('grdinfo >> Test_10-FAA.grd'), and I am assuming the Scilab version should behave >> the same. >> >> Since the mailinglists section is no longer functional, I cannot >> check for possible solutions or pointers. Apologies if this is >> repeating my previous query on the issue. >> >> Thanks >> >> Lester >> >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users > > > > Libre de virus. www.avast.com > > > > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > > _______________________________________________ > 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: