I believe the reason is because you have set the version number 9.2 in
sim_be.do file It appears that in version 9, -clear- is equivalent
to -clear all- in 12.1 which drops all open graphs. You could change
the version number or use -drop _all- to remove the previously created
variables.
Scott
On Tue, Apr 2, 2013 at 11:37 AM, Dirk Enzmann
<dirk.enzmann@uni-hamburg.de> wrote:
> David,
>
> This could be a reason, but in my case it is not:
>
> My setting is to create multiple graphs as tabs in one window (i.e.
> c(autotabgraphs) = "on"). Additionally, as you are suggesting I'm using the
> twoway option -name(graph, replace)- with "graph" being a different name
> for different graphs.
>
> It is noteworthy that this problem only occurs when "doing" the complete
> do-file, not when only selecting the commands which produce the graph.
>
> I replicated this behavior also by using Stata versions 10.1 and 11.2.
>
> Dirk
>
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/