adapted axis range for 2d matching histo