Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: eclplot - change the order of y-axis variables


From   Sujit Rathod <sujit.rathod@yahoo.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: eclplot - change the order of y-axis variables
Date   Fri, 28 Oct 2011 12:19:32 -0700 (PDT)

I am using Stata/IC 11.2 on Windows

I am trying to create a dot plot with horizontal confidence intervals using -ecplot- and the horizontal option.

(for those trying to visualize, it will look much like a Forest plot used for meta-analysis, except in my case I want to plot individual variables, not individual studies).

Unfortunately, the default appears to be for the y-axis to list all my variables alphabetically, whereas I want them in the order they are listed in my dataset.

Is there a way I can get -eclplot- to change the order in which the parmid_varname is listed in the plot? Or is there an alternative command that may accomplish this?

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index