I'm trying to generate and save a graph using syntax that has worked before:
Now when I run it I get the error "file graph1.gph could not be opened" which doesn't make sense to me because I'm not asking for any graph to be opened. I'm asking for a graph to be saved. The graph itself generates fine so I know that everything before "saving" is OK. This seems like a bug. Can anyone help or explain why Stata is trying to open a graph?
Code:
marginsplot, title (" ") plot1opts(lwidth(thick)) plot2opts(lwidth(thick)) xtitle("Party") xsc(titlegap(4)) /// legend(on) ytitle("Fear") ylabel(-2(1)2) scheme(s1mono) graphregion(margin(1 10 1 1)) saving(graph1)
Comment