Stata
Products Purchase Support Company
Search
   >> Home >> Products >> Capabilities >> Graphics >> Graph styles Bookmark and Share

Graph styles

  • Bar charts
  • Box plot
  • Histogram
  • Spike plots
  • Pie charts
  • Scatterplot matrix
  • Dot chart
  • Line charts
  • Area charts
  • Two-way scatterplot

The figure below was made using Stata.

Each of the basic styles corresponds to a style option:

  • The histogram at the top left was made by typing histogram mpg.
  • The two-way scatterplot in the second column of the first row was drawn by typing scatter price mpg.
  • The scatterplot matrix in the third column of the first row was obtained by typing graph matrix price mpg weight length.
  • The box-and-whisker plot in the upper-right corner was obtained by typing graph box weight, over(foreign, total).
  • The bar chart was obtained by typing graph bar rep1-rep5.
  • The horizontal-bar chart was obtained by typing graph hbar (mean) mpg, over(manuf).
  • The dot chart was obtained by typing graph dot (mean) mpg, over(manuf).
  • The fitted-values chart was obtained by using overlaid two-way graphs and typing scatter mpg weight || line lo weight || line hi weight || line hat weight.
  • The line graph was obtained by typing line weight mpg, sort.
  • The combined figure was obtained by (1) saving each of the graphs when we drew them and (2) typing graph combine followed by the names under which the images were saved.

An important feature of Stata is that it has no modes or modules. The graphics commands are always available, so you can fit a regression and graph the residuals without performing computer gymnastics. Stata's graphs are designed not only to look good but to be informative analytic tools.

Below are some images produced by Stata.

Figure 1 Figure 2 Figure 4 Figure 5 Figure 6

See New in Stata 11 for more about what was added in Stata Release 11.

Stata 11
Overview: Why use Stata?
Stata/MP
64-bit Stata
Capabilities
Overview
Data management
Graphics
Styles
Examples
Basic statistics
Linear models
Binary and discrete outcomes
Panel data
Survey methods
Time series
Survival analysis
Epidemiology tools
Mixed models
GLM
ANOVA / MANOVA
Multiple imputation
Exact statistics
Nonparametric methods
Multivariate methods
Cluster analysis
Resampling
Model testing
Maximum likelihood
Other statistical methods
Programming
Matrix programming—Mata
Internet capabilities
Accessibility
Sample session
User-written commands
New in Stata 11
Supported platforms
Which Stata package?
Technical support
User comments
Products
Stata 11
Order Stata
Upgrade
Training
Bookstore
Stata Journal
Stata Press
Stata News
STB
Stat/Transfer
Gift Shop

Site overview
Products
Resources & support
Company
Site index

© Copyright 1996–2009 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index