Stata 15 help for gr7pie

help gr7pie (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 pie charts (graph7, pie command)

{graph7 | gr7} [varlist] [weight] [if exp] [in range], pie [common_options]

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 ... , pie ... specifies a pie chart. Sums of the variables determine the area of the slice. You may specify up to 16 variables and Stata will place up to 64 pie charts in one image. For an introduction to graph7, see graph7.

Examples

. graph7 a b c, pie

. graph7 a b c, pie by(category)

. graph7 dlabor ilabor parts advert oh, pie by(year) sh(31324) title("Distribution of Costs, XYZ Company")

Also see

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

Option Graph type See help ---------------------------------------------------- histogram histogram gr7hist twoway Two-way scatterplot gr7twoway matrix Two-way scatterplot matrix gr7matrix oneway One-way scatterplot gr7oneway box Box-and-whisker plot gr7box star Star chart gr7star bar Bar chart gr7bar ----------------------------------------------------

Help: [G-2] graph7, gr7axes, gr7color, gr7other, gr7sym


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