A have a problem with importing igor graph (eps) into latex. What I want to do is to overwrite the igor font to match my latex document font. This way when I scale the graph the font will not change. I want to use the Psfrag package in latex and so far it's not working. I create the axis label, but PSfrag does not recognize them.
Does anyone use this package? Or know a different way of importing images from igor to latex.
My first thought is, your problem may be resolved in a different way.
Can you explain first what you mean by ... "... when I scale the graph, the font will not change?". Does the SIZE of the font change when you scale the graph? If so, you can fix this inside Igor rather than inside your document.
Alternatively, do you want to use a different FONT FACE on the Igor graph so that it matches the font face in your document (ie, Times versus Arial versus Helvetica versus ...)? This is a completely different problem, but it may still be possible to solve in Igor.
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAHuntsville
The problem is with scaling the graphs. When I enlarge or shrink them, the font also changes size. In Igor I can set font size 12, arial. But when I put the graph into the document and change it's size, the text size changes with the graph.
But this issue is present in all document processing programs (word, pages). I can create beautiful graphs in igor, but when I put them into the document and fit them, every graph look different (bigger, smaller).
PS. Anyway I fixed it. The problem was with "embed font" (I think...). Basically what I am doing is overwriting the text on the graph within latex. In igor for x and y label I just write a placeholder (xaxis, yaxis) and when I import the graph I replace axis, yaxis with the proper titles. This way when I set graph size 40% or 140% the labels have same size.
This could be handled by exporting graphs in absolute dimensions with absolute font sizes, so that every one scales the same way. Alternatively and/or in addition, when you know the dimensions of the graphic on the final print, you can set the font size of labels and such to a larger size so that they shrink to a proper size.
Your methodology would be interesting to know. I can see where this could be useful in PDF documents that are to be presented on different sized projectors -- the graph can be scaled while the font size stays legible. Perhaps you could post a basic LaTeX document and an associated figure in a ZIP archive for those who would want to explore this option.
The downside I see is, your method requires EPS graphics, and this format is slowly being phased out. I wonder ... can this be done by manipulating the PDF to replace the token strings?
I`m sending the latex file with the image. I'm working on texshop on mac and in typesetting option you need to choose "Tex and DVI" instead of "pdftex".
Back to top