Re: [R] wireplot margins and additional z-axis

From: Richard M. Heiberger <rmh_at_temple.edu>
Date: Wed 13 Sep 2006 - 12:36:43 GMT


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. Received on Wed Sep 13 22:39:45 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 13 Sep 2006 - 13:30:05 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.