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

Re: st: Presenting Stata graphs in Word/PowerPoint doucuments


From   Nick Winter <nw53@cornell.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Presenting Stata graphs in Word/PowerPoint doucuments
Date   Thu, 03 Mar 2005 14:55:04 -0500

Hmmm,

Not sure what the problem is. There are two basic approaches I use, both of which work well for me and ought to work for you.

(1) For the occasional, one-off graph or two.

Generate the graph in Stata.

Then copy it to the Windows Clipboard (either right-click then select "Copy Graph" OR select Edit-Copy Graph from the menu, OR press Ctrl-C with the Graph Window highlighted)

Then paste the graph in Word (either Edit-Paste or Ctrl-V).

(2) For more than one graph--the Stata side of this can be automated.

Generate the graph in Stata.

Save it to disk in a format Word can handle--either .PNG, .WMF, or .EMF. (Or .eps though then you sometimes can't actually see it in Word, though it will print on a postscript printer). Do this with -graph export-

e.g.:

. graph twoway scatter mpg price
. graph export mpgprice.emf

Then use Insert-Picture-From File in Word to insert the graph.

--NW


At 08:38 PM 3/3/2005 +0100, you wrote:

Hi listers,

Thanks to Mitchell's great book, I have made a lot of nice Stata graphs at home today. However, having read all the advice I could get in the Statalist Archives and using -findit-, I still have not come up with a sollotion that let me see my Stata graphs within a Word or PP document. I have tried everything from a simple copy-past to saving the graphs in all the availebla formats.

I use Windows XP (at home); maybe it wil work om my office Windows 2000 tomorrow?

In the meantime, any advice is appreciated.

Regards,

Christer Thrane
Associate Professor, Lillehammer University College
2626, Lillehammer, Norway



*
* 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/
--------------------------------------------------------
Nicholas Winter 607.255.8819 t
Assistant Professor 607.255.4530 f
Department of Government nw53@cornell.edu e
308 White Hall falcon.arts.cornell.edu/nw53 w
Cornell University
Ithaca, NY 14853-4601

*
* 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index