Klaus Nordhausen:
> The plot is still not in the left bottom corner of the file. There is a lot 
> of space below the
> outer box line. If I include this eps in latex it will also include this 
> space and if I put for 
> example the figure caption below it I have this huge gap between actual graph 
> and caption. 

This is not a problem in LaTeX.  You can put some negative vertical space 
between the
figure and the caption.  You can also put horizontal space in the figure to 
move the
useful part of the eps file where you want it.  Here is a trivial example.


tmp.R:
par(mfrow=c(2,2))
plot(1:10)
dev.copy2eps(file="tmp.eps")


tmp.tex:
\documentclass{article}
\usepackage{graphicx}
\begin{document}

\begin{figure}
\includegraphics{tmp.eps}
\caption{Default position.}
\end{figure}

\begin{figure}
\hspace*{.5in}
\includegraphics{tmp.eps}
\vspace*{-3.8in}
\caption{Controlled position.}
\end{figure}

\end{document}

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to