I am writing a double-columned article.
I am having a problem that one particular figure covers some of the text above and another figure across the column. See following picture:
I did a lot of search, but all talk about making the figure "background". Well I don't want to make it background, I would just like to "send it to the back".
How can I make this particular figure "under" the text above, and the figure across the column? Thanks a lot.
Here is my figure insertion code:
\vspace{-1cm}
\begin{figure}[h]
\hspace{-0.9cm}
\vspace{-1cm}
\includegraphics[scale=0.27]{../figures/lin_regression.png}
\caption{Regressions of phase rolls.}
\label{fig_lin_regression}
\end{figure}
Best Answer
The negative spacing is forcing the overprinting, Also since
figure
is a float, the\vspace
before the figure is completely wrong as if the figure floats the\vspace
will still be in that place and cause the following text to overprint the preceding text.If there is a white margin in the png, trim it with an external graphics editor or use the
trim
orclip
options to\includegraphics
also it is almost always best to includep
or it is highly likely the float will go to the end of the document, sousing whatever clip box coordinates make sense in your case.