histogram edit page

grain area weighted histogram

Syntax

histogram(grains)      % area weighted histogram of the grain area
prop = grains.equivalentRadius;
histogram(grains,prop) % area weighted histogram of property prop
histogram(grains,prop,n)    % specify number of bins
histogram(grains,prop,bins) % specify bin edges
h = histogram(grains)

Input

grains grain2d
n number of bin edges, default is 15, (number of bins is n-1)
bins vector of bin edges

Output

h handle to the histogram graphics object