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

_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to