My objective is that when you put the valor it'll draw the function "flor" but, it don't erase the last one that was drawn. How could i do that?

My objective is that when you put the valor it'll draw the function "flor" but, it don't erase the last one that was drawn. How could i do that?
