Re: [Scilab-users] Scilab checkerboard plot (grayplot)

2017-04-22 Thread Samuel Gougeon
Hello Ekin, Le 21/04/2017 à 11:19, Ekin Akoglu a écrit : Dear all, I am producing a checkerboard plot with Scilab and the plot seems erroneously colored. The matrix I plot is attached as well as the scripts to plot and the plot produced by Scilab. The problem is that the data at

Re: [Scilab-users] Scilab checkerboard plot (grayplot)

2017-04-22 Thread Samuel Gougeon
There was a mistake in the mapping (+zmax instead of +1). And may be about data transposition. The following shows 0 in the bottom row, as the plot you posted: function myMTIplot(data) // Rescaling data to a given range of indices nc = 32; // number of colors zmin = -1; zmax = 1; data2

[Scilab-users] Problem with toolbox instalation - atomsExtract

2017-04-22 Thread jaszczuropel
Hi, I have installed Scilab 6 recently and I got this error while trying to install IPCV toolbox: atomsExtract: The extraction of the archive 'C:\Users\user\AppData\Roaming\Scilab\scilab-6.0.0\atoms\x64\IPCV\IPCV-1.1-win64-bin.zip' has failed. I have tried to find solution given to similar

Re: [Scilab-users] Monotone preserving splin

2017-04-22 Thread Pinçon Bruno
Le 22/04/2017 à 07:23, fujimoto2005 a écrit : As for the function "splin", when we set spline_type ="monotone", "splin" returns the slope values preserving data monotonicity. These slope values are the adjusted ones of the original slope values to satisfy some constraints. In order to get the

Re: [Scilab-users] Monotone preserving splin

2017-04-22 Thread Pinçon Bruno
Le 22/04/2017 à 11:19, fujimoto2005 a écrit : Dear Bruno Wiki "Monotone_cubic_interpolation" explains the Fritsch-Carlson method which uses the finite difference approximations as the derivatives. However, splin seems to use the derivative of interpolant as the original slope values. The

Re: [Scilab-users] ?==?utf-8?q? ?==?utf-8?q? ?= Scilab checkerboard plot (grayplot

2017-04-22 Thread Antoine Monmayrant
Le Vendredi, Avril 21, 2017 14:27 CEST, Ekin Akoglu a écrit: > Dear Antoine, > > Thank you very much for the resolution. It solves my problem by > producing a graphically consistent plot. However, data-wise, the > colorbar does not match the plot unless I rescale it

Re: [Scilab-users] Monotone preserving splin

2017-04-22 Thread fujimoto2005
Dear Buruno, I see the situation. Suppose the number of the sub-interbal is n-1 ( that is [x1.x2],[x2,x3],...,[xn-1,xn]). The number of unknown variables of sub-cubic polynomials is 4n-4. When "spline_type" is "not_a_knot","clamped"or "periodic" ,we have 4n-4 constraints as follows. 2n-2 for data