Modelling H3+ in planetary atmospheres: effects of vertical gradients on observed quantities