3D representation of a histogram
hist3d(mtx) hist3d(mtx, theta) hist3d(mtx, theta, alpha) hist3d(mtx, theta, alpha, leg) hist3d(mtx, theta, alpha, leg, flag) hist3d(mtx, theta, alpha, leg, flag, ebox) hist3d(mtx, <opt_args>) hist3d(list(mtx,x,y), …)
matrix of size (m,n)
defining the histogram
mtx(i,j)=F(x(i),y(j))
, where x
and y
are taken as 0:m
and
0:n
.
where mtx
is a matrix of size (m,n)
defining the histogram mtx(i,j)=F(x(i),y(j))
,
with x
and y
vectors of size
(1,m+1)
and (1,n+1)
.
see plot3d.
This represents a sequence of statements key1=value1
,
key2=value2
,... where key1
,
key2,...
can be one of the following: 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)[ × [y(i), y(i+1)[
.
hist3d(grand(10, 10, "nor", 0, 10)) | ![]() | ![]() |
Z = zeros(100,5); A = abs(rand(40,5)); Z(1:40,:) = A; Index = find(Z==0); Z(Index) = %nan; scf(); hist3d(Z); isoview off | ![]() | ![]() |
Z = zeros(100,5); A = abs(rand(40,5)); Z(1:40,:) = A; A = abs(rand(10,5)); Z(91:100,:) = A; scf(); hist3d(Z); isoview off | ![]() | ![]() |
Version | Description |
6.1.0 | The current implementation of hist3d() is declared obsolete.
bar3d() replaces it. |
6.1.1 | hist3d() will be removed in next Scilab version. |