Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: exporting graphs to .eps


From   Kit Baum <[email protected]>
To   [email protected]
Subject   st: Re: exporting graphs to .eps
Date   Wed, 11 Oct 2006 07:14:24 -0400

The problem seems to be in your eps viewer. When I download the last graph and open it with the standard app (Preview), the title looks perfectly aligned. When I bring your eps file into LaTeX and compile this file, it looks just fine:

\documentclass[11pt]{article}
\usepackage{geometry} % See geometry.pdf to learn the layout options. There are lots.
\geometry{letterpaper} % ... or a4paper or a5paper or ...
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{epstopdf}
\DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `dirname #1`/ `basename #1 .tif`.png}
\title{Brief Article}
\author{The Author}
\begin{document}
\maketitle
\begin{figure}[htbp] % figure placement: here, top, bottom, or page
\centering
\includegraphics[width=6in]{TestingGraphics2.eps}
\caption{example caption}
\label{fig:example}
\end{figure}
\end{document}

What LaTeX distribution are you using? I'm using standard Unix teTeX.

Kit Baum, Boston College Economics
http://ideas.repec.org/e/pba1.html
An Introduction to Modern Econometrics Using Stata:
http://www.stata-press.com/books/imeus.html


On Oct 11, 2006, at 2:33 AM, statalist-digest wrote:


Here are the graphs created:
http://web.mit.edu/guiteras/Public/TestingGraphics2.wmf
http://web.mit.edu/guiteras/Public/TestingGraphics2.gph
http://web.mit.edu/guiteras/Public/TestingGraphics2.eps

And note that the title of the last of these is to the left of center.
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index