• 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.

[Graph image]

Each of the basic styles corresponds to a style option, and we have titled each subimage above with the name of the option that drew it:

  • The histogram at the top-left was made by typing histogram mpg.
  • The two-way scatterplot in the first row, second column, was drawn by typing scatter price mpg.
  • The scatterplot matrix in the upper-right corner was obtained by typing graph matrix price mpg weight length.
  • The box-and-whisker plot next to the one-way scatterplot 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 twoway 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 subimages 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 the lack of modes or modules. The graphics commands are always available, so one can estimate 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 1Figure 2 Figure 4 Figure 5 Figure 6


© Copyright 2005 Stata Corporation.