log_breaks function

Helper function to produce nice breaks on logarithmic axes