On 19.07.2019, at 09:42, Antoine Monmayrant <[email protected]> wrote: > > > Le 19/07/2019 à 09:30, Heinz Nabielek a écrit : >> Scilab friends: >> >> I have seen transparently overlapping histograms in R and in Matlab. But how >> do I do that in Scilab? > Basically? > You can't.
Primitive, but simple trick to outwit Scilab for my purposes: first dataset plotted with histplot subsequent datasets with histc and plotting squares with same width as histogram in differen colours... h d=.25;i=-5:d:5;j=-5+d/2:d:5-d/2; plot2d(0,0,0,"012", " ",[-5,-.05,5,.5]); histplot(i,grand(10000,1,'nor',0,1),style=5); A=histc(i,grand(1000,1,'nor',0,1));plot(j,A,'ks','markersize',9); A=histc(i,grand(1000,1,'nor',0,1));plot(j,A,'gs','markersize',9); A=histc(i,grand(1000,1,'nor',0,1));plot(j,A,'bs','markersize',9); _______________________________________________ users mailing list [email protected] http://lists.scilab.org/mailman/listinfo/users
