Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: RE: Graphs


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: RE: Graphs
Date   Tue, 18 Feb 2003 17:32:34 -0000

Ricardo Mora-Castrillo

> I have this syntax which display the graph that I want.
> 
> foreach fertmin of numlist 0 1 2 {
> foreach fertmax of numlist 0 1 2 {
> foreach percent of numlist 75 80 85 {
>    graph using g_`fertmin'_`fertmax'_`percent'
> }
> }
> }
> 
> However, once it get into the loop displays all the graphs 
> with no stop. 
> What I need is a command like set more on, but applied to the 
> graphs, so I 
> can see every graph on the screen the time that I need. And 
> when a press 
> any key the next graph appears.

In addition to other answers, converging 
on -more- as the best solution, -showgph- on 
SSC lets you go through a clutch of previously 
saved graphs. In Stata 7, but not Stata 8, 

. showgph g_??_??_?? 

is I think equivalent to what you have here 
PLUS using -more- to let you see each graph
in turn.  

Nick 
n.j.cox@durham.ac.uk 
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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