I want to generate and save a frequency plot, showing count of cells within a given elevation range (in this case, 0-50cm, 50-100cm etc.) from a raster DEM. Basically, I want the same plot that's shown in "Properties... > Symbology > Classified > Classify..." (see attached picture).
This is to generate an area vs elevation histogram (If cell count is known, it's easy to calculate area (as each cell represents 1x1 meter in my DEM)).
Does anyone know how? I've tried several techniques but none have been quite right.