Home  /  Products  /  Stata 11  /  Graphics

Updates to Stata's graphic features were introduced in Stata 11.

See all of Stata's graphics features.

See the new features in Stata 18.

ORDER STATA

Graphs now support multiple fonts and symbols

graph

You can now include multiple fonts in regular, bold, and italics; the full Greek alphabet in upper- and lowercase; and over 70 mathematical symbols anywhere that text appears in graphs.

Graphs now accept an extended version of Stata’s text markup language, SMCL. Greek letters and mathematical symbols have intuitive, easy-to-remember names (tags). To make the title of the x axis of your graph say “β-carotene”, you just specify xtitle(“{&beta}-carotene”). To include χ2 in your text, specify {&chi} {superscript:2} or, even shorter, {&chi}{sup:2}. Additional tags make it easy to select from among sans serif, serif, monospace, and symbol fonts.

Here are a few other examples. Click on them to enlarge them.

Graph Example 1
Graph Example 2
Graph Example 3
Graph Example 4

Of course, these new features are also available via the dialog boxes and through the interactive Graph Editor.

Here is a complete list of what’s new in Stata graphics:

  • A release highlight, text in graphs now supports multiple fonts. You can display symbols, Greek letters, subscripts, superscripts, and text in multiple font faces including bold and italics. See [G] text. Everything is automatic, but you can set up the fonts to be used.
  • Stata’s Graph Editor can now record a series of edits and apply them to other graphs. You can also apply recorded edits from the command line.
  • The dialog box for graph twoway now allows plots to be reordered when multiple plots have been defined.

Back to highlights