I'm trying to run a do file that generates a few different event-study plots and saves them to a folder. However, it seems to be that when I run the below code, each subsequent graph overwrites the previous one, even though they have different names. Below is an example of my do file with two figures. Is there some obvious solution to this that I'm missing?
Code:
** Figure 1 reg code coefplot code graph save "Graph" "Z:/folder/fig1.gph" window manage close graph "Graph" ** Figure 2 reg code coefplot code graph save "Graph" "Z:/folder/fig2.gph" window manage close graph "Graph"
Comment