Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Problem with graphs in separate tabs (Windows)


From   Dirk Enzmann <dirk.enzmann@uni-hamburg.de>
To   statalist@hsphsun2.harvard.edu
Subject   st: Problem with graphs in separate tabs (Windows)
Date   Tue, 02 Apr 2013 17:10:45 +0200

I wrote a program which creates a series of six graphs in separate tabs of the graph window.

The program runs without error and it is possible to catch a glimpse of the graphs as they are created, but when the job is finished the graph window's tabs only contain the last graph.

This behavior only occurs if I start the job from the do-file editor using the "execute (do):" button (i.e. "doing" the complete do-file). If, instead, I select only a part of the syntax to produce the six graphs (i.e. use "execute selection (do):") the graphs are created without problem.

Any idea? I tried to insert -sleep 1000- between the commands which should create the graphs without avail.

As to further details of the syntax and to replicate the behavior: Here is a link to get the syntax file (the syntax contains an additional link to "sim_be.do" which ultimately produces the graphs):

http://www2.jura.uni-hamburg.de/instkrim/kriminologie/Mitarbeiter/Enzmann/Software/be_demo.do

My Stata's "about":

Stata/SE 12.1 for Windows (64-bit x86-64)
Revision 20 Mar 2013

Dirk

========================================
Dr. Dirk Enzmann
Institute of Criminal Sciences
Dept. of Criminology
Rothenbaumchaussee 33
D-20148 Hamburg
Germany

phone: +49-(0)40-42838.7498 (office)
       +49-(0)40-42838.4591 (Mrs Billon)
fax:   +49-(0)40-42838.2344
email: dirk.enzmann@uni-hamburg.de
http://www2.jura.uni-hamburg.de/instkrim/kriminologie/Mitarbeiter/Enzmann/Enzmann.html
========================================
*
*   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index