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

st: RE: changing the order of graph by?


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: changing the order of graph by?
Date   Fri, 20 Aug 2004 20:23:39 +0100

In addition to Roger Newson's suggestions, check out 

-vreverse- from SSC 
-egen, axis()- from SSC -egenmore- 

Nick 
n.j.cox@durham.ac.uk 

Jannik Helweg-Larsen
 
> Is it possible to change the order of the graph by_option, 
> e.g  the sequence
> of left to right of a repeated graph, in which the by 
> variable is a string
> variable ?
> 
> I am using Stata 8.2, latest update and been unable to find 
> the answer in the manual.
> 
> Example:
> 
> sysuse nlsw88, clear
> graph hbar wage, over(occ, sort(1)) by( union)
> 
> Now nonunion is shown left and union shown right- Is it 
> possible to reverse
> this order to union left and nonunion right?

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