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

From |
"Martin Weiss" <martin.weiss1@gmx.de> |

To |
<statalist@hsphsun2.harvard.edu> |

Subject |
st: Re: RE: Stata graphs in LaTeX |

Date |
Tue, 5 May 2009 23:34:00 +0200 |

<>

HTH Martin _______________________

To: <statalist@hsphsun2.harvard.edu> Sent: Tuesday, May 05, 2009 11:28 PM Subject: st: RE: Stata graphs in LaTeX

. . Works fine for me. I produced a graph in Stata and then exported it as an -eps- file: graph export "$reports\hdist.eps", as(eps) replace The following -tex- file was reads this -eps- file OK. I'm using MikTex 2.7. This assumes that the -eps- file is in the same directory as the -tex- file. \documentclass[a4paper,twoside,11pt]{report} \usepackage{graphicx} \begin{document} \begin{figure}[htbp] \centering \includegraphics[width=4.9in]{hdist.eps} \caption{Distribution of self-reported height (cm) in men and women} \label{height} \end{figure} \end{document} ______________________________________________ Kieran McCaul MPH PhD WA Centre for Health & Ageing (M573) University of Western Australia Level 6, Ainslie House 48 Murray St Perth 6000 Phone: (08) 9224-2701 Fax: (08) 9224 8009 email: Kieran.McCaul@uwa.edu.au http://myprofile.cos.com/mccaul http://www.researcherid.com/rid/B-8751-2008 ______________________________________________ Epidemiology is so beautiful and provides such an important perspective on human life and death, but an incredible amount of rubbish is published. Richard Peto (2007) -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Patrick J. Flaherty Sent: Tuesday, 5 May 2009 1:46 PM To: statalist@hsphsun2.harvard.edu Subject: st: Stata graphs in LaTeX I am using Stata 10.1 fully updated in a Windows environment (Vista). I do not believe my LaTeX software (or is it my computer) is .eps compatible. While Michael Mitchell's graph2tex runs great in Stata it produces .eps files which my LaTeX can't read. I try running Martin Weiss' epspdf program but I get an error from GhostScript that filesize must be less than 2Gb. Why doesn't Stata export .jpg files? Or why can't LaTeX (I know this isn't a LaTeX listserve, I apologize) read .wmf files? Patrick J. Flaherty Coventry, Connecticut * * 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/ * * 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/

* * 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: Stata graphs in LaTeX***From:*"Patrick J. Flaherty" <repho@pipeline.com>

**st: RE: Stata graphs in LaTeX***From:*"Kieran McCaul" <Kieran.McCaul@uwa.edu.au>

- Prev by Date:
**st: RE: Stata graphs in LaTeX** - Next by Date:
**st: -mkspline- reference** - Previous by thread:
**st: RE: Stata graphs in LaTeX** - Next by thread:
**Re: st: Stata graphs in LaTeX** - Index(es):

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