I use LaPrint in Matlab to generate my EPS figures. In the TeX file that accompanies the EPS file with the LaPrint output, I have some PSfrag commands. If we consider, say, the y-axis, I find in some cases that the y-axis label is very close to the tick marks labels. And in some cases, they overlap. Here is PSfrag code for a y-axis label:
\psfrag{s04}[b][b]{\color[rgb]{0,0,0}\setlength{\tabcolsep}{0pt}\begin{tabular}{c}Force $F$, kN\end{tabular}}%
where label s04
is to be replaced by "Force F, kN". I find that I can get further separation between the y-axis label and the tick marks label by using
\psfrag{s04}[bc][bl]{\color[rgb]{0,0,0}\setlength{\tabcolsep}{0pt}\begin{tabular}{c}Force $F$, kN\end{tabular}}%
where the only change was from [b]
to [bc]
and [b]
to [bl]
.
However at times this is insufficient. I have been looking at the PSfrag manual but couldn't find any good solutions. Any suggestions?
So I'm basically looking to increase the separation between the y-label and the tick marks on the graph axis. This amounts to moving the y-label more to the left.
Best Answer
You could wrap the replacement into
\raisebox{±voffset}{...}
for vertical displacement and prepend\hspace{±hoffset}
for horizontal shifting.