Exporting a graph stored on disk exporting a graph stored in memory if your interest is simply in printing a graph, seeg2 graph print. Stata 14 graphics manual may want to start with graph intro. Create pdf files with embedded stata results stata. Collecting and organizing stata graphs sage journals. It is rather easy to copy stata output and stata graphs into microsoft word. Statas putpdf command allows you to automate the production of pdf files. You can also use command line tools like pdftk or ghostscript to merge 3 individual pdf files after exporting them into a single 3 page pdf file. File handout, log files record all your stata commands and output in a given. Save the graph named mygraph in memory to disk as an eps file graph export. Pdf introduction to stata and descriptive statistics. Exporting the graph displayed in a graph window there are three ways to export the graph displayed in a graph window. We are creating a series of process charts xmr charts as part of a reporting system for a clinical care.
Options for exporting to portable network graphics. Below is the code i have for converting a log file of mine. Change the settings drop down list to custom paper size. If you want to put your graph in a pdf file, postscript works well. It will also show you stepbystep how to insert a stata graph into a word document or pdf file. Locate the directory where you saved the graph, select it, and click insert. Professional looking results table in word importing regression results into word or excel. This is the extension that needs the stata viewer in order to read it. Saving graphics interactively in stata is straightforward. Making highresolution graphics for academic publishing. How do i copy stata output and stata graphs into word.
This command runs slower than using graph export newfilename. This page shows how you can copy your stata output and graphs into microsoft word. Introduction to stata 14 graphics office of population research. If you have to give a printed copy of this to someone without the viewer, use the translate command to convert your file into a pdf. Include stata figures in latex february 5, 2010 june 16, 2011 jan sauermann just found an easy way to include figures from stata into. A read is counted each time someone views a publication summary such as the title, abstract, and list of authors, clicks on a figure, or views or downloads the fulltext. We should point out two things about the stata results window that may surprise you. Exporting a graph stored on disk to export a graph stored on disk, type. Stata allows users to save a graph as one file in various formats for example, png. Pdf, eps, and tiff formats are all available by default. This set of notes shows how to save a graph generated in stata.
936 461 1193 14 646 222 300 1238 655 43 1304 400 1259 72 1182 1125 785 1482 718 1043 72 653 527 996 26 1233 727 58 1169 744 1278 875 32