Re: [Scilab-users] Coexistence of different versions

2019-02-20 Thread Samuel Gougeon
Hello Federico, Le 20/02/2019 à 03:46, Federico Miyara a écrit : Dear all, I'm currently using Scilab 6.0.1 on Windows 7 with several projects in progress that I don't want to put at risk. But I'm anxious to give 6.0.2 a try. Is it safe to install it in other folder? I mean, can both versio

Re: [Scilab-users] the installation of scilab-6.0.2

2019-02-20 Thread Samuel Gougeon
Le 20/02/2019 à 10:42, Hermes a écrit : Hi Samuel, I thought that checking the installation box of JavaRunTime 1.8, as requested by the installer, was enough. Indeed, it should. May be the installer needs Java that it proposes to instal :-)) Anyway, it looks to be a bug, not yet reported

Re: [Scilab-users] Coexistence of different versions

2019-02-20 Thread Samuel Gougeon
Le 20/02/2019 à 12:56, Samuel Gougeon a écrit : Hello Federico, Le 20/02/2019 à 03:46, Federico Miyara a écrit : Dear all, I'm currently using Scilab 6.0.1 on Windows 7 with several projects in progress that I don't want to put at risk. But I'm anxious to give 6.0.2 a try

Re: [Scilab-users] Ticks labels in form of number above number

2019-02-21 Thread Samuel Gougeon
Hello Izabela, Le 21/02/2019 à 17:38, Izabela Wójcik-Grząba a écrit : Hello, In my plot every tick_label in the x-axis is made of two numbers (the second is in the parenthesis). Now they are printed next to each other like for example: 0.2 (11) See the code below: f_l=[0.20030479 0.2923464

Re: [Scilab-users] Small problem with Scilab 6.0.1 code generation

2019-02-21 Thread Samuel Gougeon
Hello Vilppu, Le 21/02/2019 à 11:14, Vilppu a écrit : Hello, Has anyone tried using code generation on my example model? I installed the new Scilab 6.0.2 and with that I get even less far with code generation. When trying code generation I get this Scilab pop-up window message: Undefined opera

[Scilab-users] Text in LaTeX mode <= Re: Prettify function - few questions

2019-02-21 Thread Samuel Gougeon
Izabela, The green circles i get are not trimmed. And i don't know about prettify(): i did not instal it. But... Le 21/02/2019 à 11:43, Izabela Wójcik-Grząba a écrit : .../... a1.x_label.text='f/l $(L_0)$'; a1.y_label.text='${\delta}_z$ [%]'; you can't do that on a label: either it is compl

Re: [Scilab-users] Text in LaTeX mode <= Re: Prettify function - few questions

2019-02-22 Thread Samuel Gougeon
Le 22/02/2019 à 09:09, Izabela Wójcik-Grząba a écrit : Thanks Samuel once more, I've already deleted my post because I managed to solve most of the problems (although circles are not exactly circles but I think it is a matter of resolution). In a prettify function there is a short example wher

Re: [Scilab-users] scilab crash after bad line descriptor in plot

2019-02-23 Thread Samuel Gougeon
Hello Philippe, Le 23/02/2019 à 12:55, philippe a écrit : Hi, scilab freezes when I execute the plot command : plot(x,y,'---k') with the obviously wrong third argument(line descriptor). After killing scilab process I get this message in the console : .../... It looks bad that a simple typo

Re: [Scilab-users] xcos summation block doesn't work properly

2019-02-23 Thread Samuel Gougeon
Hello, Le 19/02/2019 à 16:56, farimani a écrit : I'm trying to use the summation block but it does not work properly: no matter if the port is -1 or +1 it just adds +1s! Which Scilab version are you using? This bug is fix

Re: [Scilab-users] xcos summation block doesn't work properly

2019-02-23 Thread Samuel Gougeon
Le 19/02/2019 à 16:56, farimani a écrit : I'm trying to use the summation block but it does not work properly: no matter if the port is -1 or +1 it just adds +1s! By the way, i have received this/your mail to users@ only to

Re: [Scilab-users] Where is the best place for Scilab - xcos / ScicosLab - scicos questions and bug report?

2019-02-23 Thread Samuel Gougeon
Hello Farimani, Le 22/02/2019 à 09:51, farimani a écrit : Lately I have been using SciLab - xcos / ScicosLab - scicos and have had several bugs and questions. Have tried the relevant StackOverFlow tag: * SciLab * ScicosLab

Re: [Scilab-users] Text in LaTeX mode <= Re: Prettify function - few questions

2019-02-23 Thread Samuel Gougeon
Le 22/02/2019 à 09:09, Izabela Wójcik-Grząba a écrit : Thanks Samuel once more, I've already deleted my post because I managed to solve most of the problems (although circles are not exactly circles but I think it is a matter of resolution). In a prettify function there is a short example wher

[Scilab-users] unary +"string" removed <= Re: Small problem with Scilab 6.0.1 code generation

2019-02-24 Thread Samuel Gougeon
Hello Eric, Le 24/02/2019 à 13:08, Éric Dubois a écrit : Hello everybody I have noticed the same nehaviour with old code that containded +string(something) the '+' having no left hand side bit of string. I think that this an example of a more general approach by recent Scilab team: make co

Re: [Scilab-users] Phishing attempt?

2019-02-24 Thread Samuel Gougeon
Hello Clauss, Le 24/02/2019 à 10:18, Claus Futtrup a écrit : Dear Scilab mailing list Today I received an email with a link, recommending me to sign up for the Scilab mailing list, presumably this one (?) - for which I'm already a member. This makes me suspicious. Is this a phishing attempt?

Re: [Scilab-users] Phishing attempt?

2019-02-24 Thread Samuel Gougeon
Le 24/02/2019 à 19:14, Samuel Gougeon a écrit : Hello Clauss, .../... It looks like a regular administrative notification from the nable plateform homing mailing lists. I guess that it can occur while some operations are done on the web interface. Phishing is when in a mail some link leads to

Re: [Scilab-users] expression block in xcos gives “answer given for scilab expression is wrong” error

2019-02-24 Thread Samuel Gougeon
Hello Farimani, Le 19/02/2019 à 10:47, farimani a écrit : As I have originally explained in this post I'm trying to put the SciLab expression: sign(u2 – u1) * (2 * ((Fm

Re: [Scilab-users] Small problem with Scilab 6.0.1 code generation

2019-02-24 Thread Samuel Gougeon
Hello Vilppu, Le 21/02/2019 à 11:14, Vilppu a écrit : Hello, Has anyone tried using code generation on my example model? I installed the new Scilab 6.0.2 and with that I get even less far with code generation. When trying code generation I get this Scilab pop-up window message: Undefined opera

Re: [Scilab-users] Possible bug in wavread

2019-02-24 Thread Samuel Gougeon
Hello Federico, Le 25/02/2019 à 01:06, Federico Miyara a écrit : Dear all, I'm reviewing the wavread function code which I could find (on Windows 7) at the following path: C:\Program Files\scilab-6.0.2\modules\sound\macros\wavread.sci There is a code segment at the beginninig intended to d

Re: [Scilab-users] issue with xs2png

2019-02-25 Thread Samuel Gougeon
Hello P M (Prime Minister ?) Le 25/02/2019 à 17:10, P M a écrit : Dear all, I am building a figure with 4 subplots. Now since I want to have a title in the figure I can use several options to set a title on the figure. Currently I use subplot(221); plot(...) a1 = gca(); a1.title.Text = "my

Re: [Scilab-users] Small problem with Scilab 6.0.1 code generation

2019-02-25 Thread Samuel Gougeon
Le 21/02/2019 à 11:14, Vilppu a écrit : Hello, Has anyone tried using code generation on my example model? I installed the new Scilab 6.0.2 and with that I get even less far with code generation. When trying code generation I get this Scilab pop-up window message: Undefined operation for the gi

[Scilab-users] Title in normalized coordinates <= Re: issue with xs2png

2019-02-25 Thread Samuel Gougeon
Le 25/02/2019 à 20:37, P M a écrit : no...I'm not (yet) prime minister :-)) What do I mean? Please, check this small example: clear(); clc; xdel(); x = linspace(1,10); y = x .* x; f1 = figure(); f1.background = 8; title ('my title','position',[10 100]); subplot(221); plot(x,y); a1

Re: [Scilab-users] Title in normalized coordinates <= Re: issue with xs2png

2019-02-25 Thread Samuel Gougeon
Le 25/02/2019 à 21:14, Samuel Gougeon a écrit : Le 25/02/2019 à 20:37, P M a écrit : no...I'm not (yet) prime minister :-)) What do I mean? Please, check this small example: clear(); clc; xdel(); x = linspace(1,10); y = x .* x; f1 = figure(); f1.background = 8; title (

Re: [Scilab-users] Problems with graphics format

2019-02-25 Thread Samuel Gougeon
Le 25/12/2018 à 22:37, Federico Miyara a écrit : After creating a figure and plot I need to change the thickness of border around the plot. What property should I change? clf subplot(1,2,1), plot2d() subplot(1,2,2), plot2d(), gca().thickness = 3; Regards Samuel ___

Re: [Scilab-users] Group function bug

2019-02-25 Thread Samuel Gougeon
Hello Yann, Le 24/02/2019 à 13:46, yann.deb...@scilab-enterprises.com a écrit : For the signal specialists, There seems to be a problem with the function group: //Group function [h w]=wfir('lp',7,[.2,0],'hm',[0.01,-1]); [tg,fr]=group(100,h); plot2d(fr',tg',-1,'011',' ',[0,2,0.5,4.]) --> [tg,fr

Re: [Scilab-users] Small problem with Scilab 6.0.1 code generation

2019-02-26 Thread Samuel Gougeon
Le 26/02/2019 à 14:23, Vilppu a écrit : .../... I also tried this fix with Scilab 6.0.1. Nothing changed there. I still get the “operation +: Warning adding a matrix with the empty matrix will give an empty matrix result.” warning three times. These "operation +" bugs have been detected/after /

Re: [Scilab-users] Export plot from figure with uicontrols

2019-02-26 Thread Samuel Gougeon
Le 26/02/2019 à 15:15, Izabela Wójcik-Grząba a écrit : Hello, I know that there's no official method to export a figure containing uicontrols but I need to export only my plot which is in the frame of the figure. Ordinary print screen is not enough because I may need a bigger size of a pictur

Re: [Scilab-users] Export plot from figure with uicontrols

2019-02-26 Thread Samuel Gougeon
Le 26/02/2019 à 17:13, Izabela Wójcik-Grząba a écrit : But my problem is that in my figure appart from my plot I have different uicontrols, so when I use one of the xs2... commands it gives me a blank picture. Aa. I would try to turn all uicontrols.visible="off", and then try xs2##(). However,

Re: [Scilab-users] Export plot from figure with uicontrols

2019-02-26 Thread Samuel Gougeon
Le 26/02/2019 à 17:37, Izabela Wójcik-Grząba a écrit : Otherwise, you may destroy them just for saving the remaining figure. It is an idea, but how to do it properly? My figure contains to frames. In one of them there are some checkboxes which change the visibility of some parts of the plot.

Re: [Scilab-users] Export plot from figure with uicontrols

2019-02-26 Thread Samuel Gougeon
Le 26/02/2019 à 18:32, Izabela Wójcik-Grząba a écrit : What do you mean by "frames"? made with uicontrol(), or with subplot() (or xsetech())? They are made with uicontrol(). The graphical effect of a uicontrol's callback remains after deleting the uicontrol. Ok, it is good. If all uicontr

Re: [Scilab-users] Export plot from figure with uicontrols

2019-02-28 Thread Samuel Gougeon
Hello, Le 28/02/2019 à 09:26, Dang Ngoc Chan, Christophe a écrit : Hello, Concerning the following point (which is not related to Scilab): I couldn't manage to make it compatible with, for instance, Word. My solution has been to save the figure as svg (a vectorized format), then open it with

Re: [Scilab-users] Export plot from figure with uicontrols

2019-02-28 Thread Samuel Gougeon
Le 28/02/2019 à 20:45, Samuel Gougeon a écrit : Hello, .../... It's possible to export Scilab graphics directly in EMF format with xs2emf() since Scilab 5.5.0. I have never used it, but it's available. When using xs2emf() with Scilab 6.0.2 on Windows7, a (modal) err

Re: [Scilab-users] {EXT} Re: Export plot from figure with uicontrols

2019-03-01 Thread Samuel Gougeon
Hello Federico, Le 01/03/2019 à 04:19, Federico Miyara a écrit : Christophe, One can also export as EMF directly from Scilab, the problem is that it is not compatible with Word 2003 (the version I have). Do you mean that the EMF produced by Inkscape is really compatible with Word? If this i

Re: [Scilab-users] creating nice svg-files

2019-03-01 Thread Samuel Gougeon
Le 01/03/2019 à 14:20, P M a écrit : Hi Christophe ... I figured out that in inkscape one can combine paths...( Ctrl++ )... so that creates just one single area. so i have a solution. However it might be interesting to know, how Scilab fills the polygon when saving it as an svg. To me it see

Re: [Scilab-users] creating nice svg-files

2019-03-01 Thread Samuel Gougeon
Le 01/03/2019 à 17:27, Samuel Gougeon a écrit : Le 01/03/2019 à 14:20, P M a écrit : Hi Christophe ... I figured out that in inkscape one can combine paths...( Ctrl++ )... so that creates just one single area. so i have a solution. However it might be interesting to know, how Scilab fills

Re: [Scilab-users] {EXT} creating nice svg-files

2019-03-01 Thread Samuel Gougeon
This issue is now reported as bug 15991 . A way to correct it is provided in the report. However, implementing this fix for Scilab -- that uses an external library for SVG exports -- might be not possible. Regards Le 01/03/2019 à 14:20, P M

Re: [Scilab-users] Behavior of gettext

2019-03-04 Thread Samuel Gougeon
Hello Federico, Le 04/03/2019 à 05:58, Federico Miyara a écrit : Dear all, I'm trying to understand the way the localizing function gettext works. For instance, setlanguage('es') // Set Spanish as session language gettext("%s: Wrong number of input arguments.\n") produces the expected

Re: [Scilab-users] buliding masks for images

2019-03-04 Thread Samuel Gougeon
Hello Philipp, Le 04/03/2019 à 14:15, P M a écrit : Dear all, I build some masks with scilab, that I want to apply later on a set of images. I can build these masks a batch process, because I have pixel coordinates that define the mask coordinates. Each mask itself will be an image For n

Re: [Scilab-users] Behavior of gettext

2019-03-06 Thread Samuel Gougeon
Le 06/03/2019 à 00:56, Federico Miyara a écrit : Dear Samuel, Thank you very much. I had read the gettext help but it is not as clear as it should, it was not clear for me if the indexed strings were the complete error message including the formatting details or the plain English version wit

Re: [Scilab-users] atomsRemove('IPCV')

2019-03-07 Thread Samuel Gougeon
Hello, Le 07/03/2019 à 18:01, P M a écrit : Mh... atomsRemove('IPCV') did not remove the Toolbox. When the module is already loaded, its actual removal is done only when restarting a next session. If in the meanwhile you remove the folder by hand, indeed this then yields some issues. T

Re: [Scilab-users] atomsRemove('IPCV')

2019-03-08 Thread Samuel Gougeon
Hello, Le 08/03/2019 à 08:57, Tan Chin Luh a écrit : Hi, if it is under windows, have you tried to launch the Scilab as Administrator? (right click on the icon, and choose run as administrator) That's right. If a user without OS priviledge requests the removal of a module installed as admi

Re: [Scilab-users] Question on switch

2019-03-08 Thread Samuel Gougeon
Hello Federico, I have nothing to add to comments posted for the bug 14940 about this topic. Le 08/03/2019 à 20:46, Federico Miyara a écrit : Dear all, I've seen that Scilab accepts the conditional switch clause like Matlab and C, and it

Re: [Scilab-users] Question on switch

2019-03-09 Thread Samuel Gougeon
Le 09/03/2019 à 01:45, Federico Miyara a écrit : Dear Samuel, OK, very clear. I have added some comments there. Now I'm curious why the "then" keyword has been included in Scilab (but allowed to leave it out). In my opinion it is an unnecessary addition to the select case construct from oth

Re: [Scilab-users] xcos summation block doesn't work properly

2019-03-10 Thread Samuel Gougeon
Le 10/03/2019 à 23:37, farimani a écrit : This was indeed an issue with the old version which I had installed through Chocolatey. It would be nice if the core Scilab team would take acare of the major package managers. here the link for the Chocolatey: https://chocolatey.org/packages/SciLab Why

Re: [Scilab-users] Where is the best place for Scilab - xcos / ScicosLab - scicos questions and bug report?

2019-03-10 Thread Samuel Gougeon
Le 10/03/2019 à 23:40, farimani a écrit : It would be nice if you could also be more present on Reddit: https://www.reddit.com/search?q=scilab&sort=new and StackOverflow: https://stackoverflow.com/questions/tagged/scilab?sort=newest those are the places where most people go for their question

Re: [Scilab-users] Behavior of gettext

2019-03-12 Thread Samuel Gougeon
Hello, Le 12/03/2019 à 21:31, Federico Miyara a écrit : Dear All, I try to get this error message translated: msprintf(gettext("%s: Argument #%d: Vector expected.\n"), "bandfilter", 1) It may be a very recent one, not yet translated. Samuel ___

Re: [Scilab-users] Behavior of gettext

2019-03-12 Thread Samuel Gougeon
Le 12/03/2019 à 21:31, Federico Miyara a écrit : Dear All, I try to get this error message translated: msprintf(gettext("%s: Argument #%d: Vector expected.\n"), "bandfilter", 1) Any idea of what's wrong? The long historical form is gettext("%s: Wrong size for argument #%d: Vector expected.\

Re: [Scilab-users] Sprintf and Italic font.

2019-03-18 Thread Samuel Gougeon
Hello, Le 18/03/2019 à 01:56, Marcus Vinicius Pereira de Souza a écrit : Dear all, Kindly, I am generating a graphic and would like some information in the title to be in italics. Can someone help me? By way of illustration, see the script below: .../... title(sprintf('y(t) = -%0.2f exp(-0.5

Re: [Scilab-users] cannot get polarplot to graph a decent windrose

2019-03-24 Thread Samuel Gougeon
Hello, Le 24/03/2019 à 03:27, Federico Miyara a écrit : Heinz, gca().rotation_angles = [180 0] is perfect for me. 270° West is correctly on the left hand side ! But I get a mess with a multiple plot.I want the degrees only at the outermost circle Heinz for i=1:6; .. polarplot(theta,M

Re: [Scilab-users] cannot get polarplot to graph a decent windrose

2019-03-25 Thread Samuel Gougeon
Hello Heinz, Le 24/03/2019 à 16:18, Heinz Nabielek a écrit : First polarplot problem was to put 0 on top and 90° to the right. This problem was solved by Federico using gca().rotation_angles = [180 0] x = (0:360)/180*%pi; y = 0.5*(1 + cos(x)); polarplot(x, y) gca().rotation_angles = [180 0]

Re: [Scilab-users] cannot get polarplot to graph a decent windrose

2019-03-25 Thread Samuel Gougeon
Le 25/03/2019 à 12:17, Samuel Gougeon a écrit : Le 24/03/2019 à 16:18, Heinz Nabielek a écrit : .../... __ Second problem: plot several curves in polar mode is to use matrices as input, as for the plot() and plot2d() functions does not work x = (0:360)'/180*%pi; z=[(0.5*(1 +

Re: [Scilab-users] Where is the best place for Scilab - xcos / ScicosLab - scicos questions and bug report?

2019-03-27 Thread Samuel Gougeon
Le 27/03/2019 à 08:47, Dang Ngoc Chan, Christophe a écrit : Hello, De : Stéphane Mottelet Envoyé : mercredi 27 mars 2019 08:27 on StackOverflow I see messages of newcomers who don't even know the existence of an official mailing list. I think we should fix this. But how ? The information is

Re: [Scilab-users] Where is the best place for Scilab - xcos / ScicosLab - scicos questions and bug report?

2019-03-27 Thread Samuel Gougeon
Le 27/03/2019 à 08:47, Dang Ngoc Chan, Christophe a écrit : Hello, De : Stéphane Mottelet Envoyé : mercredi 27 mars 2019 08:27 on StackOverflow I see messages of newcomers who don't even know the existence of an official mailing list. I think we should fix this. But how ? The information is

Re: [Scilab-users] 22.5° ray separations in polarplot

2019-03-27 Thread Samuel Gougeon
Le 27/03/2019 à 21:37, Heinz Nabielek a écrit : Friends and colleagues: Scilab polarplot does a great job displaying my 155,508 measured data pairs wind direction/ wind speed in a split second( while MS Excel is petrified) to make a great wind rose. One concern: I would like to change the def

Re: [Scilab-users] Where is the best place for Scilab - xcos / ScicosLab - scicos questions and bug report?

2019-03-28 Thread Samuel Gougeon
Le 28/03/2019 à 09:23, farimani a écrit : .../... 2. One StackOverflow I can use MarkDown / HTML to format my question / answer nicely, include images ... Markdown / HTML tagging are definitely not handy. With my mailing sofware (Thunderbird), styling the text or including inline images in an

Re: [Scilab-users] A collection of Scilab GUI tutorials

2019-03-31 Thread Samuel Gougeon
Hello, Indeed, the wiki is potentially the best first place where to contribute, provided that it's possible to loggin. Its HowTo section shows already an interesting list of items: https://wiki.scilab.org/howto Among these ones, as also returned in first position by the search engine for the

Re: [Scilab-users] regexp in Scilab

2019-04-01 Thread Samuel Gougeon
Le 01/04/2019 à 16:15, Stéphane Mottelet a écrit : Hello, Each time I try to test nice regular expressions I find in Stack Overflow, the 'regexp' Scilab macro never succeed in compiling them. Often it's because delimiters are missing while expected, or are mischosen (but the list of supporte

Re: [Scilab-users] regexp in Scilab

2019-04-01 Thread Samuel Gougeon
Le 01/04/2019 à 19:52, Stéphane Mottelet a écrit : In fact patterns that are found almost everywhere have always to be put between "/" and "/". The need of delimiters is in the standard specification. "/" are indeed often used, but this is not mandatory. Not only with Scilab. Even when onl

Re: [Scilab-users] Where is the best place for Scilab - xcos / ScicosLab - scicos questions and bug report?

2019-04-02 Thread Samuel Gougeon
Le 01/04/2019 à 21:40, farimani a écrit : Following this topic about active Scilab communities i have found that this forum: https://scilab.in/forum Nice catch. which belongs to the FOSSEE.in for Indian Institute of Technology of Bombai is comparatively active. It would be great if the commu

[Scilab-users] MinGW makes my Scilab session very unstable (crashs)

2019-04-02 Thread Samuel Gougeon
Dear co-scilabers, Since i installed recently the MinGW compiler and its Scilab interface https://atoms.scilab.org/toolboxes/mingw/0.10.5 and i initialized it (loading the module a first time), my Scilab sessions are much more instable, even when the minGW ATOMS module is NOT loaded. I get som

Re: [Scilab-users] MinGW makes my Scilab session very unstable (crashs)

2019-04-03 Thread Samuel Gougeon
configuration is Scilab 6.1-compatible. I will try on Scilab 6.0.2. Samuel Le 02/04/2019 à 21:11, Samuel Gougeon a écrit : Dear co-scilabers, Since i installed recently the MinGW compiler and its Scilab interface https://atoms.scilab.org/toolboxes/mingw/0.10.5 and i initialized it (loading the

Re: [Scilab-users] arrows in axis

2019-04-03 Thread Samuel Gougeon
Hello Federico, Le 03/04/2019 à 17:42, Federico Miyara a écrit : Dear all, Is there any standard way to add an arrow head to axes in a plot? I have found a function xarrows which allows drawing arrows, so it could be used as a workaround. But what I actually mean is something specific for a

Re: [Scilab-users] arrows in axis

2019-04-04 Thread Samuel Gougeon
Le 04/04/2019 à 06:03, Federico Miyara a écrit : Samuel, Investigating your example, you use the property clip_state and set it to "off", clearly to allow the arrow to go a bit outside the axes. I wondered whythis is necessary, considering that the documentation says the default value is "of

Re: [Scilab-users] arrows in axis

2019-04-05 Thread Samuel Gougeon
Le 05/04/2019 à 03:22, Federico Miyara a écrit : Samuel, Probably my comment was considered as regards text_properties, but it actually was referred to axes_properties https://help.scilab.org/docs/6.0.2/en_US/axes_properties.html Close to the end, before the examples, it says: clip_state:

Re: [Scilab-users] Problem with clip_state

2019-04-06 Thread Samuel Gougeon
Hello Federico, Le 06/04/2019 à 00:27, Federico Miyara a écrit : Dear All, I have the following problem with the graphic axes property clip_state. I don't know if comes from an inaccurate description in the documentation or something I'm not understanding quite well... 1) I create new axes

Re: [Scilab-users] Nested function definition

2019-04-10 Thread Samuel Gougeon
Izabela, I have not clearly understood why you are speaking about "nested functions" in your example. A nested function is a function that is /defined/ in another one. About the example in the function help page: It is right, but with Scilab 6, it looks a bit outdated to me. Indeed, let's con

Re: [Scilab-users] question on graphic children order

2019-04-10 Thread Samuel Gougeon
Le 10/04/2019 à 18:05, Federico Miyara a écrit : Stéphane, Thank you for your insight. I think I've found a possible explanation fromthe user's point of view: If several entities are successively added and some of their properties need to be modified on the fly, it is easier to use a single

Re: [Scilab-users] An error occurred during export: Unable to create export file, not enough memory. Decreasing the number of elements or the size of the figure should fix this error

2019-04-10 Thread Samuel Gougeon
Le 10/04/2019 à 20:07, Heinz Nabielek a écrit : Scilab created graphs can be quickly imported into documents via the Clipboard, but their quality is poor with jagged lines and wobbly fonts. High quality graphs can be created when exporting to pdf. However, with my 155,000 data points, I end up

Re: [Scilab-users] Scilab-users] v6.0.2 jpeg export problem - again

2019-04-12 Thread Samuel Gougeon
Hello, This bug is already reported for almost 6 years . It is not proper to the jpg format. It occurs with all pixmap formats. It was fixed for onscreen rendering (proving that it's not a pure driver issue), but it is still pending when exporting graphics

Re: [Scilab-users] {EXT} Re: Scilab-users] v6.0.2 jpeg export problem - again

2019-04-12 Thread Samuel Gougeon
Le 12/04/2019 à 11:32, Dang Ngoc Chan, Christophe a écrit : Hello Samuel, Thanks for the details. De : Samuel Gougeon Envoyé : vendredi 12 avril 2019 11:20 PS : Please don't expect improvements from anyone else than the community, that's to say yourself or your ability to find, co

Re: [Scilab-users] v6.0.2 jpeg export problem - again

2019-04-12 Thread Samuel Gougeon
Le 11/04/2019 à 20:34, marko a écrit : Well, I'm certainly a newbie here. One thing I cannot seem to correct is that graphic window / export / jpg always fails to produce an acceptable image. As it has been pointed out in the past, the background is invariably pinkish, while *.png works just fine

Re: [Scilab-users] SciNotes and printf("...\n")

2019-04-12 Thread Samuel Gougeon
Le 12/04/2019 à 11:47, P M a écrit : Dear all, what is the reason that SciNotes changes the colour from printf(".\n"); to printf("...\n"); In fact colour changes already when printing 2 dots. Out of texts, ".." are continuation dots, but Scinotes no longer manages them correctly for the synt

Re: [Scilab-users] ?==?utf-8?q? SciNotes and printf("...\n")

2019-04-15 Thread Samuel Gougeon
Hello Federico, Le 13/04/2019 à 17:13, Federico Miyara a écrit : Antoine, The continuation mark .. doesn't work within strings. Something like this disp("Hello, .. world") produces an error (actually, two errors). I think it would be relatively simple to fix this syntax-highlighting bug by

Re: [Scilab-users] {EXT} Re: ?==?utf-8?q? SciNotes and printf("...\n")

2019-04-15 Thread Samuel Gougeon
Le 15/04/2019 à 11:01, P M a écrit : sorry... I pressed the "send" button accidently ...interesting.so it is possible to printf(" Unicode \n") ? Sure. (matrices of) strings and UTF-8 support are one of the big assets of Scilab. printf(<<...>>) // creates an error as expected

Re: [Scilab-users] ?==?utf-8?q? SciNotes and printf("...\n")

2019-04-15 Thread Samuel Gougeon
Le 15/04/2019 à 21:42, Federico Miyara a écrit : Samuel, I'm not sure I can (I have already said I'm not fluent in C), but if you would kindly hint me how to locate, in general, the source code of a specific feature, may be I can in a future try to do something about it... Follow the bug's

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

2019-04-16 Thread Samuel Gougeon
Hello Philippe, Le 16/04/2019 à 15:31, philippe a écrit : hi to all, I realized that scilab function "Sgrayplot" (and other 2D plotting functions like "champ") only accept "regular grids" that is Sgrayplot(X,Y,Z) requires size(Z)=length(X)xlength(Y) while "surf" also accept non-regular ones w

Re: [Scilab-users] LaTeX strings in scilab plot : \includegraphics & paperwidth

2019-04-16 Thread Samuel Gougeon
Le 16/04/2019 à 16:02, philippe a écrit : Le 04/04/2019 à 13:10, Antoine Monmayrant a écrit : I suppose the "\the" construct is not supported by jlatexmath... no it's not supported, LaTeX rendering is generated so that the result correspond to a certain font_size, this property can be set some

Re: [Scilab-users] How to get matrix output from ODE ?

2019-04-22 Thread Samuel Gougeon
Hello, Le 22/04/2019 à 14:48, Richard a écrit : Hello - using scilab 6.0.2 on windows 7 pro; I'm pretty much a newbie here, but somewhat familiar with differential equations. However, I cannot find a way to get a matrix (NOT a VECTOR!) output from the scilab 'ode' function. No matter what, all

Re: [Scilab-users] help page

2019-04-26 Thread Samuel Gougeon
Hello, Le 26/04/2019 à 19:40, Stéphane Mottelet a écrit : Le 26/04/2019 à 19:10, Antoine Monmayrant a écrit : Hello Stéphane, Not sure this does what you expect, but I think pandoc can do the trick: foo.xml copied from : https://antispam.utc.fr/proxy/2/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/help.s

Re: [Scilab-users] help page

2019-04-26 Thread Samuel Gougeon
Le 26/04/2019 à 22:03, Stéphane Mottelet a écrit : Le 26/04/2019 à 21:23, Samuel Gougeon a écrit : Hello, Le 26/04/2019 à 19:40, Stéphane Mottelet a écrit : Le 26/04/2019 à 19:10, Antoine Monmayrant a écrit : Hello Stéphane, Not sure this does what you expect, but I think pandoc can do

Re: [Scilab-users] toolbox help page : no "calling sequence generated

2019-05-05 Thread Samuel Gougeon
Hello Philippe, Le 05/05/2019 à 17:19, philippe a écrit : Hi, I made a toolbox for my personal macros, all macros are pure scilab function, the man pages are described as comments at the beginning of each macro (see below) and are proceeded with help_from_sci. The toolbox was designed with scil

Re: [Scilab-users] non-symmetric windows

2019-05-22 Thread Samuel Gougeon
Hello Federico, Le 22/05/2019 à 16:40, Federico Miyara a écrit : Dear all, I need to implement a 4096 point non-symmetric Hann window. The function window provides several types of symetric windows, including Hann. I wonder if computing a 4097 point symmetric window and keeping the first

Re: [Scilab-users] C compiler for use with xcos

2019-05-24 Thread Samuel Gougeon
Hello, Le 24/05/2019 à 17:44, cobnashine a écrit : Scilab 6.0.2 64 bit, Windows 10 64 bit on AMD processor. Difficult to have Scilab 6.0.2 find my C compiler. Downloaded Visual Studio community version, it comes with 4 different versions of cl.exe. In the Scilab console, the command configure

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

2019-05-29 Thread Samuel Gougeon
languages, Scilab does not need any list of paths to be scanned to find the file of the script to be run. As you know, in Scilab, to execute a script.sci, its relative or absolute path must be provided. It's mandatory. Regards Samuel Gougeon ___

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

2019-05-30 Thread Samuel Gougeon
n definitions.sci to execute on the fly. But it can be tentatively implemented by using the %onprompt <https://help.scilab.org/docs/current/en_US/percentonprompt.html> mechanism. "--> uman %onpromt @ <http://mailinglists.scilab.org/path-tp3416444p3417057.html>" will t

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

2019-05-30 Thread Samuel Gougeon
Le 30/05/2019 à 13:42, Samuel Enibe a écrit : Thank you very much, Samuel. I am using version 5.5.2 on Ubuntu 18.04. Could you please let me know how to locate the the scilab.ini and the startup files? On Linux, you may create and fill the .scilab file in your SCIHOME directory: help start

Re: [Scilab-users] A possible bug with format(width)

2019-06-05 Thread Samuel Gougeon
Hello Izabela, Le 05/06/2019 à 16:38, Izabela Wójcik-Grząba a écrit : .../... With format(4) and attempt to display a variable u Scilab stops working. Does everyone have such behaviour and isn't it a bug? Confirmed behavior on win7 64 bits. Sure it is a bug, a serious one. You would be kind t

Re: [Scilab-users] A possible bug with format(width)

2019-06-05 Thread Samuel Gougeon
Le 05/06/2019 à 21:57, stephane.motte...@utc.fr a écrit : As MacOSX, Linux is not affected, this will help to solve this bug: Scilab 6.0.2 (Feb 14 2019, 10:11:47) --> *OS_Version* ans= Linux 4.15.0-48-generic --> *format(4); u=123.456* u= 1.D+02 Are you in "v" format? This result looks

Re: [Scilab-users] Finding elements occuring once in a matrix

2019-07-05 Thread Samuel Gougeon
Hello Izabela, You may use the following: --> x = [1.1 1.1 3.2; 2.3 1.1 1.1; 4.7 5.2 5.2]  x  =    1.1   1.1   3.2    2.3   1.1   1.1    4.7   5.2   5.2 --> r = tabul(x); r(r(:,2)==1,1)  ans  =    4.7    3.2    2.3 Samuel ___ users mailing list use

Re: [Scilab-users] graphic object editor for Light property

2019-07-06 Thread Samuel Gougeon
Hello, Le 06/07/2019 à 16:15, jaipur a écrit : Hello, I'm using Scilab 6.02 on Windows 10. I'd like to know if graphic object editor is working for 'Light' property. A graphic object editor is working well after typing 'plot3d()'. Then I quit graphic object editor and type 'light()'. The 3D fi

[Scilab-users] Still available memory on the Java heap

2019-07-18 Thread Samuel Gougeon
Hello, Is there a way equivalent to getmemory() to get the free memory on the reserved Scilab java heap? xmlGetValues() can be used to get the total reserved java heap amount, but i would need to know the still free not yet used memory. Thanks Samuel ___

Re: [Scilab-users] transparently overlapping histograms

2019-07-19 Thread Samuel Gougeon
Hello Heinz, After histplot(), you can just disable the filling of bars: d = rand(1,1,'normal'); clf histplot(-3:0.5:3,d,normalization=%f); histplot(-3:0.5:3,d(1:5000)+1,normalization=%f,style=color("red")); *gca().children.children.fill_mode = "off";* Samuel Le 19/07/2019 à 13:22, Heinz

Re: [Scilab-users] Still available memory on the Java heap

2019-07-22 Thread Samuel Gougeon
Hello Clément, Le 22/07/2019 à 16:01, Clément David a écrit : Hello Samuel, You can get memory information from the JVM using JIMS: --> jimport java.lang.Runtime --> Runtime.getRuntime().totalMemory() ans = 249036800 --> Runtime.getRuntime().freeMemory() ans = 175335480 Exce

[Scilab-users] animaGIF 1.0 is released

2019-07-22 Thread Samuel Gougeon
Hello, I am glad to announce the first release of the animaGIF package : https://atoms.scilab.org/toolboxes/animaGIF animaGIF() aims to be a stand-alone function (no thirdparty), easy to use and easy to maintain (no hard code to recompile from a Scilab version to next ones). It is fully docum

Re: [Scilab-users] Converting a figure to a SciCV Mat

2019-07-26 Thread Samuel Gougeon
Hello, Le 26/07/2019 à 19:22, stevenrjarrett a écrit : Is there a way to convert a Scilab figure to a SciCV Mat? I had thought the simplest way would be to convert the figure to a matrix and use the matrix data to create the SciCV Mat, but I have not been successful finding a way to do either.

Re: [Scilab-users] location of z-axis on 3D

2019-07-29 Thread Samuel Gougeon
Le 29/07/2019 à 16:30, jaipur a écrit : Dear all In the following 3D program, I'd like to set the location of z-axis to also zero. How should I add code? plot3d() h = gca(); h.x_location = "origin" h.y_location = "origin" AFAIK, it has been requested -> there

Re: [Scilab-users] Transition from Xcos 5.5 to 6.0

2019-07-29 Thread Samuel Gougeon
Le 22/07/2019 à 15:58, Clément David a écrit : Hello, As we have ported our 5.5.2 files to 6.0.2 without issue, this is likely an issue within the zcos files you use. Could you please send these files (or report a bug and attach them) to check? Dave's answer in a private mail: Le 19/07/2019

Re: [Scilab-users] test_run failed: Slave Scilab exited with error code 127

2019-08-01 Thread Samuel Gougeon
Le 01/08/2019 à 14:22, philippe a écrit : Hi, I've just move to a new laptop and I try to rebuild toolboxes I've created for scilab-6.0.2, every thing looks fine except that all unit tests fail ! I realize that in fact ALL SCILAB unit tests fail  with the same error message : --> test_run(

Re: [Scilab-users] How to print GUI window?

2019-08-01 Thread Samuel Gougeon
Le 01/08/2019 à 20:34, VTX1801 a écrit : Hello, Further test with a simple plot figure does print correctly. So this issue is somehow related to a larger window GUI with multiple objects including a plot. There are potentially 2 issues : 1. your GUI is not dockable. The java error message you

Re: [Scilab-users] test_run failed: Slave Scilab exited with error code 127

2019-08-01 Thread Samuel Gougeon
Le 01/08/2019 à 22:16, philippe a écrit : Le 01/08/2019 à 18:19, Samuel Gougeon a écrit : Yes, it's a bad start, but it's just for the api_scilab module (unfortunately it's the first tested one :/) Just try with the next one: test_run("ast",[],"no_check_ref&q

Re: [Scilab-users] test_run failed: Slave Scilab exited with error code 127

2019-08-01 Thread Samuel Gougeon
Le 01/08/2019 à 22:16, philippe a écrit : Le 01/08/2019 à 18:19, Samuel Gougeon a écrit : Yes, it's a bad start, but it's just for the api_scilab module (unfortunately it's the first tested one :/) Just try with the next one: test_run("ast",[],"no_check_ref&q

  1   2   3   4   5   6   7   8   9   10   >