Ricardo Mora-Castrillo <[email protected]> wrote:
> 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.
>
> Do you know any tip.
You can use the -more- command after your -graph- command to get the behavior
you 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'
more
}
}
}
For more information, type -help more-.
--Shannon Driver
[email protected]
*
* 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/