**help gr7box** (out-of-date command)
-------------------------------------------------------------------------------

__Warning__

This help file documents the **old** version of Stata's **graph** command. See
**graph** for the modern version.

Stata runs the old version of **graph** whenever **graph** is invoked under
version control (see **version**) or when you use the **graph7** or **gr7** command.

__Graph box-and-whisker plots (____graph, box____ command)__

{**graph7** | **gr7**} [*varlist*] [*weight*] [**if** *exp*] [**in** *range*]**,** __b__**ox**
[*common_options* [**no**]__al__**t** __v__**width** __r__**oot**]

*common_options* See help
------------------------------------------------------
title and axes options gr7axes
symbol and line options gr7sym
color and shading options gr7color
saving, printing, & multiple image options gr7other
------------------------------------------------------

**by** is allowed; see **by**.

__Description__

**graph7** *...* **, box** *...* specifies a box-and-whisker plot. Up to 6 variables
may be specified. For an introduction to **graph7**, see **graph7**.

__Options unique to ____box__

[**no**]**alt** forces the labeling of groups to be on single or multiple lines.
**graph7** chooses whether the text labeling each box should be on the
same line or instead alternative between two lines. If you do not
like **graph7**'s choice, [**no**]**alt** allows you to enforce your preferences.
**alt** forces the staggered look, whereas **noalt** forces the single-line
approach.

**vwidth** makes the width of each box proportional to the number of
observations.

**root** is used only with **vwidth**; it specifies the width of the box is to be
made proportional to the square root of the number of observations.

__Examples__

**. graph7 y x, box** (graphs box-and-whiskers for y and x)

**. graph7 y, box by(id)** (graphs box-and-whiskers for y by id groups)

**. graph7 y x, box by(id)** (graphs it by id for both y and x)

**. gr7 tempjan, box by(region) total ylabel s(o) vwidth yline(32) ylabel(0**
**16 to 80) t2("width proportional to # of cities") ti(Box Plots by**
**Census Division) l1(Jan. temp. in Fahrenheit)**

__Also see__

The eight **graph7** types are specified as options. The other seven types
are

Option Graph type See help
----------------------------------------------------
__hi__**stogram** histogram gr7hist
__t__**woway** Two-way scatterplot gr7twoway
__m__**atrix** Two-way scatterplot matrix gr7matrix
__o__**neway** One-way scatterplot gr7oneway
__st__**ar** Star chart gr7star
__ba__**r** Bar chart gr7bar
__p__**ie** Pie chart gr7pie
----------------------------------------------------

Help: **[G-2] graph7**, gr7axes, gr7color, gr7other, gr7sym; **[R] lv**