grain area weighted histogram
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)