This won't work in 8 as wished because -gph close-
and -gph open- are old graphics commands. They
are not compatible with the new graphics.
Nick
[email protected]
Marcello Pagano
> Thanks for the help. I tried it but it did not work for me.
josemaria
>
> > A long time ago (four, five years?) I had the same problem.
> > The solution presented to me (by Bill Gould, by Nick
> Cox?), which I
> > still use, was (for my data):
> >
> >> . program define wander
> >>
> >> 1. gph open
> >> 2. ltable anos censura [freq=numero] if origem==0,graph
> >> interval(0,1,2,3,4,
> >>
> >>>
> 5,6,7,8,9,10,11,12)xlabel(0,1,2,3,4,5,6,7,8,9,10,11,12)xline
> (0,2,4,6,8,10,12)
> >>>
> >>> ylabel(0,.2,.4,.6,.8,1)yline(0,.2,.4,.6,.8,1) pen(2)
> noconf notab
> >>> t1(azul=par
> >>> ticular/vermelho=IAPC)
> >>
> >> 3. ltable anos censura [freq=numero] if origem==1,graph
> >> interval(0,1,2,3,4,
> >>
> >>>
> 5,6,7,8,9,10,11,12)xlabel(0,1,2,3,4,5,6,7,8,9,10,11,12)xline
> (0,2,4,6,8,10,12)
> >>>
> >>> ylabel(0,.2,.4,.6,.8,1)yline(0,.2,.4,.6,.8,1) pen(3)
> noconf notab
> >>> t1(azul=par
> >>> ticular/vermelho=IAPC)
> >>
> >> 4. gph close
> >> 5. end
*
* 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/