Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: png2rtf on SSC: insert graphs into RTF docs


From   Austin Nichols <austinnichols@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: png2rtf on SSC: insert graphs into RTF docs
Date   Fri, 12 Nov 2010 14:15:03 -0500

Statalisters,

Thanks to Kit Baum a revision to -png2rtf-, which inserts graphs into
RTF docs, is now available on SSC archives.

It has been tested minimally, and only on the Windows platform, so I
am interested in feedback from users.

The new version fixes one bug and changes the method of appending
files so that it plays more nicely with -estout- (also from SSC).

E.g.

ssc inst png2rtf, replace
sysuse auto, clear
sc mpg weight
gr export mpg.png, height(300) width(300) replace
png2rtf using mpg.doc, g(mpg.png) replace
eststo clear
_eststo mpg: reg mpg weight
_eststo pri: reg price weight
esttab mpg pri using mpg.doc, rtf la a ti({\page}{\b title})
sc price weight
gr export price.png, height(300) width(300) replace
png2rtf using mpg.doc, g(price.png) a
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index