Filtering tick labels on log axes so that fewer are displayed