reset plot labels automatically