I have a small technical problem in MATLAB. I am trying to use comet to make an animated path of this spirograph program I've made. I'd also like to add some grid lines however my problem is the following. If i run the comet command everything looks great and works fine, but if I then use a "grid" or "grid on" command, my whole graph disappears. If I try either of the grid commands frist, they are instantly removed when the comet line runs. The only solution I have is to use the hold on command and run the program twice? Any suggestions?