→ histplot(20,numz())
at line 60 of function histplot ( /Applications/Scilab-2024.0.0.app/Contents/share/scilab/modules/graphics/macros/histplot.sci line 78 )
histplot: Wrong type for input argument #2: Real expected.
as explained in the documentation (see what you discover) the second argument of histplot has to be a vector (of reals). In general, although they may look sometimes the same, vectors and lists are different types in Scilab. A list is a general purpose container, i.e. elements can be of different types, although vectors/arrays elements have the same type.