psfragfig pdflatex image shifted and cropped
Some images inserted with psfragfig, are shifted to one side (right) and partially placed off the document. (see image, bottom figure is the one I'm talking about).
It occurs with TexShop whether I use pdflatex (using --shell-escape) or Tex+DVI.
The code I'm using to insert is :
\begin{figure}
\centering
\psfragfig{./figures/chapter1/intrinsic_error} % Generated by script_errors.m
\caption{Blah...}
\label{intrinsic_error}
\end{figure}
As you can guess, the image was generated by Matlab, using subplot and a tool called matlabfrag which generated the .tex file along with the .eps file. However, I have no problem with single-plot images inserted with the same code. Maybe matlabfrag is messing with the alignment properties in an incorrect way, but is there a workaround to simply shift the image back to the left with some psfragfig options ? Or should I use another tool to insert ?
Thanks for your help
Some images inserted with psfragfig, are shifted to one side (right) and partially placed off the document. (see image, bottom figure is the one I'm talking about).
It occurs with TexShop whether I use pdflatex (using --shell-escape) or Tex+DVI.
The code I'm using to insert is :
\begin{figure}
\centering
\psfragfig{./figures/chapter1/intrinsic_error} % Generated by script_errors.m
\caption{Blah...}
\label{intrinsic_error}
\end{figure}
As you can guess, the image was generated by Matlab, using subplot and a tool called matlabfrag which generated the .tex file along with the .eps file. However, I have no problem with single-plot images inserted with the same code. Maybe matlabfrag is messing with the alignment properties in an incorrect way, but is there a workaround to simply shift the image back to the left with some psfragfig options ? Or should I use another tool to insert ?
Thanks for your help
No comments:
Post a Comment