Height Gauge - 2D - programming, statistics