Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Using xtgraph with Stata version 8 graphics


From   Paul Seed <[email protected]>
To   [email protected]
Subject   st: Using xtgraph with Stata version 8 graphics
Date   Tue, 24 Aug 2004 10:27:44 +0100

Dear Statalisters,

Several people have asked about using xtgraph for version 8 graphics.
After looking into what was involved, I decided that recoding xtgraph
would not be the most sensible way to go.  The savedat() option
permits a simple work-around.
For example:

        . preserve
        . tempfile myfile
        . xtgraph c, group(group) bar(se) nograph savedat("`myfile'")
        . use "`myfile'", clear
        . reshape wide  n mean lb ub , j(group) i(week)

        . * Carry out any desired version 8 graphics commands.
        . * Note that -offset- is not available in Version 8.

        . restore


This is included in a new helpfile, available (courtesy of Kit Baum)
via -findit xtgraph-





==========================
Paul T Seed       ([email protected])
Division of Reproductive Health, Endocrinology and Development
Guy's Kings and St. Thomas' School of Medicine, King's College London,
St Thomas' Hospital,
Lambeth Palace Road,
London SE1 7EH

tel   (+44) (0) 20 7188 3642
fax (+44) (0) 20 7620 1227
Thurs only: (+44) (0) 20 7848 4208


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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