grim_granularity function

Granularity of non-continuous scales