plot: allow overriding number of x tick bins