Graphics, Figures & Tables.eps, Latex & pstricks - more psfrag functionality?

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
maja z
Posts: 18
Joined: Mon May 18, 2009 8:53 pm

.eps, Latex & pstricks - more psfrag functionality?

Post by maja z »

Hi!
I may be missing something obvious, but here's my problem:

I've got an .eps graphic (from R), and I include it in a .tex file using includegraphics in a pspicture environment.

Now I can use psfrag to replace the original labels with Latex typeset ones. So far so good.

Now I want to add another set of labels that are at the same heights as the original ones, but on the right hand side of the picture. This is effectively an offset to the right from the original label coordinates.

Is this possible? Obviously not with psfrag itself - it only allows you to replace each label once, and even if it did allow you to replace it twice, the positioning arguments are only r,l,c,b,t and the like, so I couldn't manipulate the position as much as I would like.

But it must be possible somehow to "reuse" the coordinates psfrag has and adjust them e.g. horizontally?

Of course I can use \rput and manually position another set of labels, but clearly that is not very elegant!

Any tips are greatly appreciated!

Maja.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply