hist edit page

plot a grain size histogram

Syntax

hist(grains)
hist(grains,n) % specify the number of bins
% use an arbitrary property for the histogram
hist(grains,grains.equivalentRadius)
binId = hist(grains) % returns the bin for each grain

Input

grains grain2d
n number of bins, default is 15