Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

RE: st: graphs into latex lose their text


From   "Porter, Stephen R [EL PS]" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   RE: st: graphs into latex lose their text
Date   Fri, 18 Feb 2011 16:25:10 -0600

Hi Kit,

The code should have read

  \includegraphics[height=3in]{graph1}

Not sure what happened when I cut and pasted.

I just discovered that the problem is with my MiKTeX/TeXworks installation. When the document compiles the first time it is opened in TeXworks, the graphs look fine. Any additional compilation after that results in the text being stripped out of the graphs. So restarting solves the problem, but I'm not sure what's causing it; just updated the installation to no effect. Not sure it's worth tracking down either.

Thanks,
Steve

--
Stephen R. Porter
Associate Professor of Research and Evaluation 
Department of Educational Leadership and Policy Studies 
N232-A Lagomarcino Hall, Iowa State University 
Ames, IA 50011 
Phone: 515-428-0008 
Fax: 515-294-7635
Email: [email protected] 
Website: http://www.stephenporter.org 


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Christopher Baum
Sent: Friday, February 18, 2011 4:13 PM
To: [email protected]
Subject: re: st: graphs into latex lose their text

<>
What happens if you just use

graph export graph1.eps, replace

after the graph command?

I don't know what you mean by

\includegraphics[height=3D3in]{graph1}

That does not look like a valid height parameter. What I usually use with .eps files is something like

\includegraphics[scale=.9]{gr_Size.eps} 

and just adjust the scale to get the desired results.

Kit

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


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


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index