Description Usage Arguments Details Value Notes See Also Examples
hist2d
produce a 2D histogram from x, y
points.
1 |
npix |
number of bins on each axis (pixels = |
lims |
Four-element vector for |
prob |
(logical) make the area under the histogram equal to 1? |
From an set of (x, y)
positions, compute a 2D histogram.
Count the number of input points falling within each pixel on
and evenly spaced grid points of pix.x = i*dx
, pix.y = j*dy
.
return this values as z
.
List containing components x, y, z
.
The output img
is a list with three components:
z
is a vector of nx
evenly spaced x
positions,
y
is a vector of ny
evenly spaced y
position,
z
is an nx*ny
array of z
values at the
(x, y)
coordinates.
chain_convergence
, contour_matrix
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.