Statalist


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

Re: st: Graph Quality in Latex


From   Daniel Stegmueller <d.stegmueller@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Graph Quality in Latex
Date   Fri, 6 Jun 2008 21:33:13 +0200

Or you can export directly to PDF (--as(pdf)--), which gives perfect results when using with pdflatex.

Best,
Daniel




Martin,

To obtain good quality with pdflatex I export as eps and convert to pdf, using a command like:

graph export "box.eps", as(eps) preview(off) replace

Then I use:

\begin{figure}[b]
\includegraphics[viewport=0 0 500 500]{box.pdf}
\caption{Boxplots of shares and prices}
\label{fig:box}
\end{figure}

in my LaTeX source.

Carl Nelson (chnelson@illinois.edu)

---- Original message ----

Date: Fri, 6 Jun 2008 21:06:02 +0200
From: "Martin Weiss" <martin.weiss@uni-tuebingen.de>
Subject: st: Graph Quality in Latex
To: <statalist@hsphsun2.harvard.edu>

Dear Listers,

I am wondering whether there is a way to improve on the poor performance
that png graphs achieve when compiled with pdflatex. Does anyone know which
graph type (must be available in Stata 10) performs better in this respect?
I am not fussy when it comes to such issues but what I currently get is not
really presentable...


Thanxx in advance,
Martin Weiss
_________________________________________________________________

Diplom-Kaufmann Martin Weiss
Mohlstrasse 36
Room 415
72074 Tuebingen
Germany

Fon: 0049-7071-2978184

Home: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1130

Publications: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1131

SSRN: http://papers.ssrn.com/sol3/cf_dev/AbsByAuth.cfm?per_id=669945


*
* 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/
*
*   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/
Daniel Stegmueller
Landgrafenstr. 14, App.45
60486 Frankfurt a.M.
069/24140381
d.stegmueller@gmail.com



*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index