unstable grath

my displayed graph can not be stable,some times apear,some times disapear,how can I fix it?

Can you be more precise ? Can you give some hints, or best, some code ? What make your graph disappear ? Are you sure your display function is bug free ?