IDEAS home Printed from
   My bibliography  Save this article

Speaking Stata: Between tables and graphs


  • Nicholas J. Cox

    () (Durham University, UK)


Table-like graphs can be interesting, useful, and even mildly innovative. This column outlines some Stata techniques for producing such graphs. graph dot is likely to be the most under-appreciated command among all existing commands. Using by() with various choices is a good way to mimic a categorical axis in many graph commands. When graph bar or graph dot is not flexible enough to do what you want, moving to the more flexible twoway is usually advisable. labmask and seqvar are introduced as new commands useful for preparing axis labels and axis positions for categorical variables. Applications of these ideas to, e.g., confidence interval plots lies ahead.

Suggested Citation

  • Nicholas J. Cox, 2008. "Speaking Stata: Between tables and graphs," Stata Journal, StataCorp LP, vol. 8(2), pages 269-289, June.
  • Handle: RePEc:tsj:stataj:v:8:y:2008:i:2:p:269-289

    Download full text from publisher

    File URL:
    Download Restriction: no

    File URL:
    Download Restriction: no

    References listed on IDEAS

    1. Nicholas J. Cox, 2003. "Speaking Stata: Problems with tables, Part II," Stata Journal, StataCorp LP, vol. 3(4), pages 420-439, December.
    2. Nicholas J. Cox, 2006. "Stata tip 33: Sweet sixteen: Hexadecimal formats and precision problems," Stata Journal, StataCorp LP, vol. 6(2), pages 282-283, June.
    3. Nicholas J. Cox, 2003. "Speaking Stata: Problems with lists," Stata Journal, StataCorp LP, vol. 3(2), pages 185-202, June.
    Full references (including those not matched with items on IDEAS)


    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.

    Cited by:

    1. repec:ags:stataj:122594 is not listed on IDEAS
    2. Nicholas J. Cox & Natasha L. M. Barlow, 2008. "Stata tip 62: Plotting on reversed scales," Stata Journal, StataCorp LP, vol. 8(2), pages 295-298, June.
    3. Nicholas J. Cox, 2010. "Speaking Stata: The statsby strategy," Stata Journal, StataCorp LP, vol. 10(1), pages 143-151, March.

    More about this item


    Access and download statistics


    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:tsj:stataj:v:8:y:2008:i:2:p:269-289. See general information about how to correct material in RePEc.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Christopher F. Baum) or (Lisa Gilmore). General contact details of provider: .

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service hosted by the Research Division of the Federal Reserve Bank of St. Louis . RePEc uses bibliographic data supplied by the respective publishers.