bar3d
3D bars plot
Syntax
bar3d() // Example bar3d(mtx,[theta,alpha,leg,flag,ebox]) bar3d(mtx,<opt_args>) bar3d(list(mtx,x,y),[theta,alpha,leg,flag,ebox]) bar3d(list(mtx,x,y),<opt_args>)
Arguments
- mtx
matrix of size (m,n) defining the histogram
mtx(i,j)=F(x(i),y(j))
, wherex
andy
are taken as0:m
and0:n
.- list(mtx,x,y)
where mtx is a matrix of size (m,n)defining the histogram
mtx(i,j)=F(x(i),y(j))
, withx
andy
vectors of size (1,m+1) and (1,n+1).- <opt_args>
This represents a sequence of statements
key1=value1, key2=value2
,... wherekey1
,key2,...
can be one of the following: theta, alpha,leg,flag,ebox. See plot3d.- theta,alpha,leg,flag,ebox
see plot3d.
Description
bar3d
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)[
.
Enter the command bar3d()
to see an example.
Examples
bar3d();
bar3d(grand(10, 10, "nor", 0, 10))
History
Version | Description |
6.1.0 | hist3d() renamed in bar3d(). |
Report an issue | ||
<< 3d_plot | 3d_plot | comet3d >> |