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

st: changing the order of graph by?

From   "Jannik Helweg-Larsen" <[email protected]>
To   <[email protected]>
Subject   st: changing the order of graph by?
Date   Thu, 19 Aug 2004 16:53:11 +0200

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.


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?

Jannik Helweg

*   For searches and help try:

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