1

I have a figure in PDF format generated by R including 2 axes with label and markers. I want to include the figure in LaTeX document. When using \includegraphics[width=6cm]{fig.pdf}, the plot is included but the labels and markers on the axes in the PDF file are lost.

What happened? What can I do?

enter image description here The figure on page 70 is the result of pdfLaTex. But the original figure in pdf has other parts in it.

\begin{figure}[ht]
\begin{center}
\includegraphics[width=8cm]{figSvsS.pdf} 
\end{center}
\caption{Estimated Difference Profile: Shakespeare vs. Shakespeare} \label{fig2:authorship1}
\end{figure}

closed as unclear what you're asking by Johannes_B, Stefan Pinnow, CarLaTeX, user31729, Bobyandbob Nov 5 '17 at 7:48

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • No idea without seeing the image and your latex file. Does everything show up as you'd want if you're viewing the pdf file in pdf viewers? – JPi Oct 15 '15 at 2:34
  • 2
    I bet @JPi meant the image that is not working, not a screenshot of the result. Still no LaTeX code posted as well. – Johannes_B Oct 15 '15 at 12:01
  • 1
    Potential duplicate? tex.stackexchange.com/q/129309/24974 – erik Oct 15 '15 at 16:55
  • Also please do not use the center env to center the image. Both figure and center adds vertical space around the image. – daleif Oct 15 '15 at 17:45
  • Welcome to TeX.SX! Please make your code compilable (if possible), or at least complete it with \documentclass{...}, the required \usepackage's, \begin{document}, and \end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. – Martin Schröder Oct 17 '15 at 21:14

Browse other questions tagged or ask your own question.