Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down at the end of May, and its replacement, **statalist.org** is already up and running.

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

From |
Austin Nichols <austinnichols@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: Beginner questions re saving/storing/exporting graphs in Windows |

Date |
Thu, 14 Oct 2010 08:12:04 -0400 |

Benhoen2 <benhoen2@earthlink.net>: This is an advanced "beginner" question; many experienced users have struggled with this. Using TeX and making a PDF is arguably the easiest way to go; see e.g. -texdoc- on SSC for a primer. You have two alternatives from Uli and Maarten, using ghostscript (http://www.stata.com/statalist/archive/2010-10/msg00483.html) or using -file- to write out html (http://www.stata.com/statalist/archive/2010-10/msg00485.html), and there is older advice from Michael Blasnik (http://www.stata.com/statalist/archive/2004-06/msg00301.html), but I will offer a 4th alternative: you can write an RTF file with each graph saved as PNG (but converting the binary file into a hexdump for inclusion in the RTF file). Such a file can be opened in MSWord and many other word processors immediately, and you can add other material to the RTF including text and formatting tags much as you would in html or TeX. I have a little utility program that writes out a single graph which should get you started if you are interested in pursuing that option; I will write a help file and submit to SSC. On Thu, Oct 14, 2010 at 12:10 AM, Benhoen2 <benhoen2@earthlink.net> wrote: > I need a quick primer on how to get multiple graphs from the graph window > into a file that then I can save for later, send to others. I once again > put my faith in the Stata online community will get me started down the > right path. (FYI I spent the last hour or so trying to understand how to > use graph export and epstopdf, and seem to have gotten more confused than > anything.) > > I will create 20 or so graphs in my .do file and want to find the most > elegant way to get them from the graph window to one file, which I can send > out. I had assumed I would use a MS Word or PDF file to receive the output > but if other options are readily available please suggest. > > I had envisioned being able to export to a file, in the same way one exports > output to a log. Once all of the graphs have been exported (the .do file is > complete) the file would be ready to send. The key here is that one file > would contain multiple graphs and that the process would be automated from > within the .do file. > > I am running Stata SE 11.1 on Windows 7 64 bit box. > > Any advice on how I might get started? Is this even possible? > > Thanks, > > Ben * * 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/

**References**:**st: Beginner questions re saving/storing/exporting graphs in Windows***From:*"Benhoen2" <benhoen2@earthlink.net>

- Prev by Date:
**st: RE: RE: RE: RE: correlation, panel data** - Next by Date:
**st: RE: RE: RE: RE: RE: correlation, panel data** - Previous by thread:
**RE: st: Beginner questions re saving/storing/exporting graphs in Windows** - Next by thread:
**Re: st: Beginner questions re saving/storing/exporting graphs in Windows** - Index(es):