Bookmark and Share

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]

re:re: st: Graph png format - differences in scaling between vers. 10 and 11


From   Kit Baum <baum@bc.edu>
To   statalist@hsphsun2.harvard.edu
Subject   re:re: st: Graph png format - differences in scaling between vers. 10 and 11
Date   Tue, 16 Mar 2010 11:14:18 -0400

<.>
The following works fine for me, allowing me to specify EPS files which are converted to PDF on the fly by TeXShop when it compiles:

-------------------
\documentclass{beamer}
\usepackage{graphicx}
\usepackage{epstopdf}
\begin{document}
% using pdftex setting, bring in file test.eps created by Stata graph export
\frame
{
\includegraphics[width=4in]{test}
}
\end{document}
--------------------


Maarten's suggestion

graph export mean_imp.eps, replace
capture rm mean_imp.pdf
!ps2pdf -sPAPERSIZE -dDEVICEWIDTHPOINTS#432 -dDEVICEHEIGHTPOINTS#288 mean_imp.eps mean_imp.pdf

can be replaced on more capable OS by
graph export mean_imp.pdf, replace

Kit
*
*   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index