moving plot example