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/