[R] eps file not positioned properly in latex document

Faheem Mitha faheem at email.unc.edu
Thu Feb 8 17:37:47 CET 2001

Dear People,

Thanks to everyone who replied. As several people pointed out, "in totally
the wrong position" is not very helpful, but it was late and I was tired.

What I have is a page of text, and I want the barplot inserted about
two-thirds of the way down the page, and it insisted on appearing at the
top of the page. Both Dennis Murphy and Torsten Hothorn pointed me the
solution, ie. the option h (here) to the figure environment, thus:

\begin{figure}[h]
\includegraphics[scale=0.7]{barplot.eps}
\end{figure}

I really don't understand why this isn't the default. (Apparently the
default is tbp [top bottom page], but I don't understand how several of
these options are applicable simultaneously. Perhaps this just means that
if one of these is not possible it moves on to the next in order of
preference?) As you can see, I am not really that experienced with these
things, or I would have known this already.

Sorry about cluttering up the list with irrelevant stuff. My Latex book
sort of misled me by implying (in the section on \includegraphics) that if
the figure did not appear in the right place, there might be something
wrong with the bounding-box information. It turned out that the section on
the figure environment was actually the relevant part.

Sincerely, Faheem Mitha.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._