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

st: RE: RE: Line Graph


From   "Carter Ivan Rees" <[email protected]>
To   <[email protected]>
Subject   st: RE: RE: Line Graph
Date   Thu, 21 Apr 2005 10:39:22 -0600

Scott,

Thank you, worked like a charm.

Carter

-----Original Message-----
From: Scott Merryman [mailto:[email protected]] 
Sent: Thursday, April 21, 2005 10:33 AM
To: [email protected]
Subject: st: RE: Line Graph

Here is one way:

. sysuse auto
(1978 Automobile Data)

. gen mpg2 = mpg

. collapse (count) mpg2 , by(mpg)

. line mpg2 mpg


Scott

> -----Original Message-----
> From: [email protected] [mailto:owner-
> [email protected]] On Behalf Of Carter Ivan Rees
> Sent: Thursday, April 21, 2005 11:10 AM
> To: [email protected]
> Subject: st: Line Graph
> 
> A simple and somewhat embarrassing question about a line graph.  I
would
> like to make a simple line graph of an age distribution.  Y-axis a
count
> or percentage and the x-axis my age variable.
> 
> How is this done?
> 
> Thanks.
> 
> Carter
> 


*
*   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/


*
*   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