improved tppsth plotting