Questions tagged [psfrag]

Replace strings in encapsulated PostScript figures.

Used to Incorporate Text in tagged EPS figures to get a consistent latex font in Figure along with the running script. Most widely used with matlabfrag, laprint (user contributed MATLAB Functions) export options.

154 questions
7
votes
3 answers

Replacing labels in EPS file by LaTeX - text not where it should be

I am spawning a .eps file with octave by using this .m file: function dummy xlim([0 81]); x = [0:0.01:81]; y=x.^0.5+x.^0.4+x.^0.3+x.^0.2+x.^0.1; plot…
drahnr
  • 215
5
votes
2 answers

What does psfrag do, and can it be made to work with pdflatex?

I'm picking up a document, thus far, created by someone else who is unavailable for questioning. I have a vague idea what is trying to be accomplished with…
TommyK
  • 353
3
votes
1 answer

pstool stopped working

In some figures I create for my thesis I want to replace the labels and such using the same font and size as in the rest of the thesis. A couple of month ago I already used psfrag and pstool (with pdflatex). But now I cannot get it working. I did…
3
votes
1 answer

PSfrag does not change the text

I want to practice psfrag but it does not work! I don't know what to do. Here is my LaTeX…
2
votes
2 answers

Why aren't my psfrag substitutions occurring?

I can't get simple psfrag substations go happen, and wonder if I'm missing an option or preference somewhere that will make them work. I'm using LyX to build by document, but I have the same problem in nearly every tool I try. The only way I've been…
orome
  • 10,459
2
votes
1 answer

Calling \psfrag{} inside a forloop

Allright, hi guys. Inside my EPS i got quite some texts that are quite similar. Only their index shall change from each one. So i'm trying to get those done in an own command. They are used inside an \begin{figure}...\end{figure} - block, right…
2
votes
1 answer

aligning the x-axis labels in a figure using psfrags

I used laprint to generate the .eps file for my matlab graph. Now the problem is I changed the axis labels to a,...f but they dont seem to be aligned w.r.t the horizontal x-axis. This is the command \psfrag{x13}[t][t]{\small a}% ..where can I…
Dilip
  • 83
1
vote
1 answer

modify legend with psfrag in a eps image

I am trying to modify the legend of an eps image that I generated in matlab, there are several experiments where I put the reference in the legend, so this is why I prefer to set it up with psfrag. I can modify the axis text but not the legend text.…
sofi
  • 11
  • 1
1
vote
0 answers

Using psfrag with Adobe Illustrator

I'm trying to make psfrag work with EPS files created by Adobe Illustrator. It seems like no matter what option I use for Adobe Illustrator, my text always comes embedded inside the file. I've tried saving the file using Illustrator 3 EPS, as…
1
vote
0 answers

psfrag package and autocad .eps

is there a way use .eps figure from autocad and edit its labels using the psfrag package? I tried with exporting figure from autocad directly to .eps and then, in figure environment, I used \psfrag command as manual says. Here is a simple…
1
vote
1 answer

Trouble with psfrag and Mathematica's eps-images

My system: Windows10, MikTeX2.9, WinEdt10.2 I am preparing/updating a set of lecture notes. I ran into the following issue with psfrag. The relevant source…
1
vote
0 answers

type 3 fonts allowing \psfrag

I need help producing a file without type three fonts but at the same time allowing \psfrag to produce LaTeX text inside figures. Could someone help me with this? Thank you very much.
1
vote
0 answers

font sizes of points of x and y axes is large compared to script size

I am using psfrag to convert eps (converted from figure to eps) to pdf . But in the pdf that is generated, the font size of points of the axes is large and cant be adjusted properly. Please see the image that is attached and suggest me…
0
votes
0 answers

psfrag values not shown after compiling code

\documentclass[10pt]{article} \usepackage{epsfig,rotating,times,psfrag,pstricks,tikz} \usepackage{xcolor,array,graphicx} \usepackage{amsmath,amssymb} \usepackage{pgfplots} \pagestyle{empty} \begin{document} \small \psfrag{4}[c][c]{~~~4} …
babar
  • 1
0
votes
0 answers

Typesetting issue from MAC to Windows

Hey Guys my Professor send me a LATEX document from MAC with the code \begin{figure} \centering \psfrag{k}[][]{$k$} \psfrag{y}[][]{$Y^{\prime }$} \psfrag{x}[][]{$X^{\prime…
kisrui
  • 1
1
2