Skip to content
Prev 12450 / 29559 Next

histogram of SpatialGridDataFrame values

Hi,

So I've loaded a DEM into a SpatialGridDataFrame, and I can 
plot it etc.

However, I would like to make a histogram of the pixel 
values (or just a random sample of the pixel values) to help 
make decisions about the color scheme etc.  Is there an easy 
way to do this?

Cheers!
Nick