3D representation of a histogram
hist3d(mtx,[theta,alpha,leg,flag,ebox])
hist3d(mtx,<opt_args>)
hist3d(list(mtx,x,y),[theta,alpha,leg,flag,ebox])
hist3d(list(mtx,x,y),<opt_args>)
: :theta,alpha,leg,flag,ebox see plot3d. :
hist3d represents a 2d histogram as a 3D plot. The values are associated to the intervals [x(i) x(i+1)[ X [y(i) y(i+1)[ .
Enter the command hist3d() to see a demo.
hist3d(10*`rand`_(10,10));
Z = `zeros`_(100,5);
A = `abs`_(`rand`_(40,5));
Z(1:40,:) = A;
`scf`_();
hist3d(Z);
Index = `find`_(Z==0);
Z(Index) = %nan;
`scf`_();
hist3d(Z);
A = `abs`_(`rand`_(10,5));
Z(91:100,:) = A;
`scf`_();
hist3d(Z);