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

st: a beginner graph help


From   Giulio Rizzoli <[email protected]>
To   [email protected]
Subject   st: a beginner graph help
Date   Tue, 06 May 2003 09:17:52 +0200

Dear Sir
I have stata7.
I have this table with the yearly frequence of use of the variable drug= 1
or 2 or 3 (labelled AA BB CC)
.label value drug drugf
.table opy drug 
year	AA	BB	CC
____________________
1970	8		                     
1971	4		                     
1973	1		                     
1974	8		                     
1975	19		                     
1976	27		                     
1977	34		                     
1978	29		                     
1979	26		                     
1980	9		                     
1981	16		                     
1982	8		                     
1983	3	2	                     
1984	1	6	                     
1985		9	                     
1986		18	                     
1987		5	                     
1988		1	                     
1989		1	                     
1990		7	1
1991		9	                     
1992		6	8
1993			11
1994			20
1995		1	30
1996		1	40
1997		1	56
1998			65
1999			24
2000		1	5
2001			20
2002			36
_________________________

Question: how can I produce a line plot of the frequences of AA BB CC
across years with a different line  for each ?
           Giulio Rizzoli


*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index