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

st: RE: graph oneway

From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: graph oneway
Date   Mon, 16 Aug 2004 14:06:51 +0100

StataCorp decided not to include this directly
in Stata 8. 

However, what you want is really just
a kind of scatter plot and can be achieved after 
a (temporary) restructure of your data. 

Alternatively, you can use -onewayplot- from 
SSC to avoid thinking about that restructuring. 

. ssc inst onewayplot 

will install the program on your system. 

In your case, 

. onewayplot var1 var2 var3 

would be a good start. With the auto

. onewayplot mpg turn trunk
. onewayplot mpg turn trunk, stack variablelabels 

are a couple of examples. The help file 
says much more, including a comparison with
-gr7, oneway- and -dotplot-. 

[email protected] 

Agnes Nocon
> I'm using Stata version 8.2, which changed a lot from version 
> 7 to 8. I 
> want to compare one-dimensional frequency plots just like they were 
> possible with Stata 7. The correct command for this would be
> graph7 var1 var2 var3, oneway.
> However, this graph7 command is very fixed, and one cannot 
> add axes or 
> display the categories on the y-axis. Did Stata delete this 
> command or is 
> it hidden in some other? Does anybody have an idea how to 
> draw the graph I 
> need with an x-axis (metric variable) and an y-axis displaying the 
> categories? (horizontal box-plots don't help, because they do 
> not show the individual values)

*   For searches and help try:

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