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

RE: st: problem with boxplots


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: problem with boxplots
Date   Mon, 27 Oct 2003 12:42:24 -0000

Alternatively, five variables that are 
comparable may be presented as a varlist. 

E.g. 

separate mpg, by(rep78) short 
graph box mpg1-mpg5 

Nick 
[email protected] 

> -----Original Message-----
Ernest Berkhout replied to Sama Wilson Nchang bigina

> >How can I plot five different box plots on the same
> >graph using the new version of stata (i.e. version 8).
> >I would like to know how to do this using both the
> >command window and the menu.
> 
> Checkout the Graphics manual for the section "by_option" 
> (page 77) and the 
> examples in the section on "graph box". You will end up 
> with something like
> 
> graph box YVAR, by(BYVAR).
> 
> An alternative could be
> 
> graph box YVAR, over(BYVAR).

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index