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] 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] {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] 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] 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] 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] 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] 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] 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] 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-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] 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

[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] 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

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] 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] 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] 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] 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-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] 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] 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-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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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-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] {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] 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] 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] {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] 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] 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-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-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 à 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 à 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] 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] 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] 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] 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 (

[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] 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

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] 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] 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] 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] 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] 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?

[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] 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

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] 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] 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] 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] 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

[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] 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

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] 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] 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
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-19 Thread Samuel Gougeon
Sorry Hermes, i did not pay attention to the alert's screenshot. This one looks quite self explicit. Have you checked that Java is installed on your computer? ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

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

2019-02-18 Thread Samuel Gougeon
Le 18/02/2019 à 17:28, Hermes a écrit : good morning I am presenting problems with the installation of scilab-6.0.2 All the time I receive the following alert: Was it really "as well" with the first run after the first installation, or

Re: [Scilab-users] need a little help

2019-02-15 Thread Samuel Gougeon
... and even clearer, with respect to your own notations: --> A = rand(1,1000); // test's data --> B = rand(1,1); --> [a, b] = ndgrid(A, B); --> size(a) // same for b ans = 1000. 1. --> [v, i] = min(abs(a-b), *"c"*); ___ users mailing

Re: [Scilab-users] need a little help

2019-02-15 Thread Samuel Gougeon
Hello Phil, This should work: --> [A,B] = ndgrid(rand(1,1000), rand(1,1)); // test's data --> size(A) ans = 1000. 1. --> [v, i] = min(abs(A-B)); The minimal distances are in v, the index of the closest in B are in i. Regards Samuel Le 15/02/2019 à 21:46, P M a écrit : Hi expe

Re: [Scilab-users] need a little help

2019-02-15 Thread Samuel Gougeon
Sorry, instead of my previous message, please read --> [A,B] = ndgrid(rand(1,1000), rand(1,1)); // test's data --> size(A) ans = 1000. 1. --> [v, i] = min(abs(A-B), *"c"*); Samuel ___ users mailing list users@lists.scilab.org http://li

Re: [Scilab-users] delaunay_2 issue on windows (feedback)

2019-02-15 Thread Samuel Gougeon
Hello Paul, Le 15/02/2019 à 11:00, Carrico, Paul a écrit : Dear all First of all thanks to Scilab team for the new release. In the example at the end of this post, I’m wondering why Scilab crashes when using tessellation, but only on *_Windows 7 Professional service pack 1 OS_* ? It’s not t

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

2019-02-14 Thread Samuel Gougeon
Hello, Le 14/02/2019 à 13:45, Vilppu a écrit : Hello, I am using Windows 10 Enterprise, Scilab 6.0.1, MinGw toolbox 0.10.5 and gcc 6.2.0. All are 64 bit versions. When I try to use Xcos feature ‘code generation’ on any super block I get this warning three times: “operation +: Warning adding a m

Re: [Scilab-users] Why plot doesn't work on integers

2019-02-02 Thread Samuel Gougeon
Hello Federico, Thanks for pointing this issue. It is clearly a bug. It occurs since the earliest ages of Scilab. It will be fixed ASAP. Regards Samuel Le 02/02/2019 à 09:42, Federico Miyara a écrit : Dear all, I know it is better to use plot2d, but I wonder why plot works differently from

Re: [Scilab-users] rltool - error

2019-01-28 Thread Samuel Gougeon
Hello, Le 29/01/2019 à 00:50, jotalp a écrit : Hi. I want to use the rltool atom, but I can not. I work in linux mint 19.1, I downloaded Scilab 6.0.1, but that tool does not work in this version. I wanted to install Scilab 5.5.2, but crash with core dump. It does not allow me to compile it from

Re: [Scilab-users] A bug on saving the user parameters in memory?

2019-01-25 Thread Samuel Gougeon
Hello, I've never had this issue. However, there is sometime an issue with error messages on Scilab 6.0: A part of the stack of an error message includes some line coming from a previous error. This can be very misleading. It is hard to reproduce it in a deterministic way. So i am not sure tha

Re: [Scilab-users] 4-D plots.

2019-01-25 Thread Samuel Gougeon
Le 25/01/2019 à 11:01, Adrian Weeks a écrit : Hello, I want to plot a function of three independent variables ( v = f(x, y, z) ) so that I can visualize it. Essentially, this requires a 4-D plot but I can do it by using param3d to give me three independent axes then representing the value o

Re: [Scilab-users] compact layout for console

2019-01-20 Thread Samuel Gougeon
Hello Federico, The most compact you can get is after having used --> mode(1) https://help.scilab.org/docs/6.0.1/en_US/mode.html Regards Samuel Le 20/01/2019 à 09:46, Federico Miyara a écrit : Dear all, Is there any way to get a more compact presentation of results in the console? I mean

Re: [Scilab-users] SCILAB2C toolbox ATOMS update

2018-12-16 Thread Samuel Gougeon
on the Forge portal (since this module has a Scilab forge @ http://forge.scilab.org/index.php/p/scilab2c/) and send your loggin to Clément. HTH Best regards Samuel GOUGEON ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman

Re: [Scilab-users] Inserting %nan at given positions into a vector

2018-12-05 Thread Samuel Gougeon
Le 05/12/2018 à 13:01, Jens Simon Strom a écrit : Hallo Scilab experts, Given is a numeric vector x of length n and an index vector i with max(i)=n. I want to insert a %nan after every x(i). Example x=[11:20] i=[2 5 8] Required result: y=[11 12 %nan 13 14 15 %nan 16 17 18 %nan 19 20] How wou

Re: [Scilab-users] Wanted: Command like regexp accepting a string vector for haystack

2018-12-05 Thread Samuel Gougeon
Hello Jens, Le 05/12/2018 à 17:47, Jens Simon Strom a écrit : Hallo Scilab experts, I am looking for a command to *return the match (or position) of a character string (=needle) in a **vector**of strings (=haystack), where needle may be a regular expression* Needle occurs only once in any

Re: [Scilab-users] Vectorfind with accuracy

2018-11-15 Thread Samuel Gougeon
Hello Izabela, Le 14/11/2018 à 15:07, Izabela Wójcik-Grząba a écrit : Thanks Samuel, you are right. I use "clear" because while testing my programmes I have to use different values of variables and sometimes it's difficult to find an error in the code especially when some of variables have old

Re: [Scilab-users] Vectorfind with accuracy

2018-11-13 Thread Samuel Gougeon
Le 13/11/2018 à 16:42, Izabela Wójcik-Grząba a écrit : Thank you Stéphane and please ignore my last post - I didn't see the attachement at first. I wanted to put your function to the library and have it loaded at startup of each session. I used the function: genlib ("Moja_biblioteka","C:/Progr

Re: [Scilab-users] filter(): How to use the last zi argument <= Re: vector operation replacing for loop

2018-11-12 Thread Samuel Gougeon
Le 12/11/2018 à 23:57, Heinz Nabielek a écrit : On 07.11.2018, at 20:57, Samuel Gougeon wrote: Hello, Is there anyone here that uses to use the last filter() optional argument? In the example of the thread reminded below: V = Z; for i=2:n V(i) = a*V(i-1) + b*Z(i); end In my case, a^2

Re: [Scilab-users] vector operation replacing for loop

2018-11-08 Thread Samuel Gougeon
Le 08/11/2018 à 20:24, Heinz Nabielek a écrit : Great. Thanks. Should have thought of it myself... Still: is there a vector way? Didn't you read Guylaine's answer? She proposes a tricky algorithm. Unfortunately, it cannot be used for very long Z input, due to memory considerations. I am afra

[Scilab-users] filter(): How to use the last zi argument <= Re: vector operation replacing for loop

2018-11-07 Thread Samuel Gougeon
works/is taken into account is unclear. Any hint (before analyzing its hard code..)? Regards Samuel Le 01/11/2018 à 15:16, Samuel Gougeon a écrit : Le 01/11/2018 à 13:40, Samuel Gougeon a écrit : Hello, Le 01/11/2018 à 09:27, Heinz Nabielek a écrit : Sorry, Scilab friends, I am still not

Re: [Scilab-users] Re : fftshift and ifftshift are way too different

2018-11-06 Thread Samuel Gougeon
Le 10/10/2018 à 12:39, amonm...@laas.fr a écrit : Le 10/10/2018 à 08:47, Samuel Gougeon a écrit : Le 09/10/2018 à 21:52, antoine monmayrant a écrit : Hello Samuel, Sorry I might not have made myself clear: fft and fftshift provide the ability to perform transform along only one of the

Re: [Scilab-users] vector operation replacing for loop

2018-11-01 Thread Samuel Gougeon
Le 01/11/2018 à 13:40, Samuel Gougeon a écrit : Hello, Le 01/11/2018 à 09:27, Heinz Nabielek a écrit : Sorry, Scilab friends, I am still not fluid with vector operations. Can someone rewrite the for loop for me into something much more efficient? n=1000; Z=grand(1,n,'nor',0,1);

Re: [Scilab-users] vector operation replacing for loop

2018-11-01 Thread Samuel Gougeon
Hello, Le 01/11/2018 à 09:27, Heinz Nabielek a écrit : Sorry, Scilab friends, I am still not fluid with vector operations. Can someone rewrite the for loop for me into something much more efficient? n=1000; Z=grand(1,n,'nor',0,1); r=0.9; V=Z; for i=2:n; V(i)=r*V(i-1)+sqrt(1-r^2)*Z(i); e

Re: [Scilab-users] Enquiry

2018-10-31 Thread Samuel Gougeon
Le 31/10/2018 à 12:31, Kombo Theophilus-Johnson a écrit : What's the advantage of scilab over matlab? Only one? Its price. ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] Variable browser for structures

2018-10-31 Thread Samuel Gougeon
Hello, Le 31/10/2018 à 11:48, FMR a écrit : Hi, I'm a new SciLab user and have a question concerning the Variable Browser. I know in Matlab it is possible to open a structure with double-click and visualize all variable of the structure (I think it is useful for a quick verification). But in Sc

Re: [Scilab-users] scilab mkdir and UNC path support

2018-10-29 Thread Samuel Gougeon
Le 29/10/2018 à 16:17, Antoine Monmayrant a écrit : Hi all, The lack of support for UNC path in scilab is a real issue in our lab (UNC path are Windows paths that looks like \\server\dir1\subdir1\). In particular it breaks atomsInstall for all the Windows users here as our home dir is mounted

Re: [Scilab-users] uicontrol TABLE

2018-10-29 Thread Samuel Gougeon
Le 29/10/2018 à 16:02, Samuel Gougeon a écrit : Le 29/10/2018 à 15:46, Izabela Wójcik-Grząba a écrit : I have 6.01 version and changing values doesn't work. When the figure with table pops up I change some values, then close the window and check a t2 variable. Aa, you might also

Re: [Scilab-users] uicontrol TABLE

2018-10-29 Thread Samuel Gougeon
Le 29/10/2018 à 15:46, Izabela Wójcik-Grząba a écrit : I have 6.01 version and changing values doesn't work. When the figure with table pops up I change some values, then close the window and check a t2 variable. If you really do things in this order, you kill the uicontrol that can't be add

Re: [Scilab-users] uicontrol TABLE

2018-10-29 Thread Samuel Gougeon
Le 18/10/2018 à 12:47, Izabela Wójcik-Grząba a écrit : .../... I use a version from this site which should work: http://www.scilab.org/fr/development/nightly_builds/master I am not able to reproduce the Scilab 5 bug with the NB master for Windows. For me, changing values works as expected. Sam

<    1   2   3   4   5   6   7   8   9   10   >