[Scilab-users] bug in scilab histplot normalization
philippe
rouxph.22 at gmail.com
Wed Oct 24 13:56:29 CEST 2018
Hi to all
the histograms from histplot looks to have a bad normalization in
scilab 6.0.1 (ubuntu 18.04) , see :
http://bugzilla.scilab.org/show_bug.cgi?id=15832
the images in the help page for histplot show the problem even on scilab
website :
https://help.scilab.org/docs/6.0.1/fr_FR/histplot.html
just run the example #3 to confirm :
lambda = 2;
X = grand(100000,1,"exp", 1/lambda);
Xmax = max(X);
clf()
histplot(40, X, style=2)
x = linspace(0,max(Xmax),100)';
plot2d(x,lambda*exp(-lambda*x),strf="000",style=5)
legend(["exponential random sample histogram" "exact density curve"]);
best regards,
Philippe
More information about the users
mailing list