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

RE: st: RE: ltable and plot


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: RE: ltable and plot
Date   Mon, 1 Dec 2003 10:48:14 -0000

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 
n.j.cox@durham.ac.uk 

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/



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