fixed ticks in plotting