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" <[email protected]>
To   <[email protected]>
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- 

[email protected] 

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:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index