Histplot internal call to histc fails with with complaint about histc swapping arguments 1 and 2
Reported by Perry Keller
BUG DESCRIPTION:
----------------
Histplot internal call to histc fails with with complaint about histc swapping arguments 1 and 2 when binEdges vector is used.
ERROR LOG:
----------
WARNING: histc: data are now expected in argument #1 => arguments #1 and #2 switched
at line 1 of executed string
at line 110 of function histplot ( C:\Program Files\scilab-6.1.0\modules\graphics\macros\histplot.sci line 128 )
plot2d: Wrong size for input arguments: Incompatible sizes.
HOW TO REPRODUCE THE BUG:
-------------------------
run the following command:
histplot(linspace(-10,10,100), rand(5, 'normal'));
When using the number of bins instead there are no complaints form the interpreter:
histplot(100, rand(5, 'normal'));
OTHER INFORMATION:
------------------