Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: graph twoway options


From   "JP Azevedo" <[email protected]>
To   <[email protected]>
Subject   st: graph twoway options
Date   Fri, 12 May 2006 12:46:17 -0300

Hello,

I have a quick question regarding the options of the Stata graph command.

I'm trying to plot a twoway line figure of the data below. However I would
my points to be sorted according the variable qt.
Is there anyway to implement this with Stata? I've trying things like
,sort(qt) or , order(qt) but it does not work.

Any suggestions are most welcomed.

Cheers,

JP


graph twoway (line m2001uf_1 m2004uf_1) 


     +-----------------------------------+
     | qt          m2001ed~a   m2004ed~a |
     |-----------------------------------|
  1. |        .1   .07338864   .06909037 |
  2. |        .2   .07135852   .06759267 |
  3. | .30000001   .07184195   .06804301 |
  4. | .40000001   .07221921   .06811777 |
  5. |        .5    .0750649   .07045547 |
     |-----------------------------------|
  6. | .60000002   .07870311   .07324056 |
  7. | .69999999   .08274511   .07661686 |
  8. | .80000001   .08829671   .08257144 |
  9. | .89999998   .09520774    .0892437 |
     +-----------------------------------+

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