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:44:18 +0200

Martin,

I am sorry, I did forget that (oh, those dark times....)


With your LaTeX distribution comes a tool called --epstopdf--. You can use it to convert EPS files into PDF.

Another option is to use the epstopdf package. You include it in your .tex document and it calls the epstopdf program at runtime -- which is quite convenient if you have a lot of graphs in your document.

Hope this was more helpful this time...
Daniel





This -as(pdf)- is not available to the poor Windows user :-(

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


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Daniel
Stegmueller
Sent: Friday, June 06, 2008 9:33 PM
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: Graph Quality in Latex

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/

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