Hi... I am running Ubuntu 10.04.1, Gnuplot Version 4.2 and texlive 2009
I have produced an eps image in gnuplot with:
set terminal postscript eps enhanced colour lw 4 "Times New Roman" 20
including the infinity symbol with:
{/Symbol \245}
and the initial output looks great. My problem is when I include this image in my latex file within the figure environment using the includegraphics command, the infinity symbol turns into a degree symbol. This appears to be a function of pdfTeX, in that the dvi and ps files retain the infinity symbol. I am using a build of dvips+ps2pdf.
I will need the pdf version for uploading the publication, so any help is appreciated. I have attached the log file, if it helps.
Thank you in advance.
Graphics, Figures & Tables ⇒ gnuplot infinity symbol with eps figures in latex
NEW: TikZ book now 40% off at Amazon.com for a short time.

gnuplot infinity symbol with eps figures in latex
It works fine for me, using TeX Live 2009 on Fedora 13 (I also used "Times-New-Roman" instead of "Times New Roman" in the Gnuplot set terminal command). Are you embedding the fonts when you convert from ps to pdf? If not then you could be getting font substitution in the pdf file, which may be your problem. I always run ps2pdf like this to get proper font embedding:
If you open the pdf file in a viewer like Acrobat Reader and go to File->Properties->Fonts, you should see font names with "(Embedded Subset)" next to them if the fonts were properly embedded.
Code: Select all
ps2pdf14 -dMaxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true -dPDFSETTINGS=/printer
gnuplot infinity symbol with eps figures in latex
Thanks shadgrind,
It was just that an embedding problem... I also used
and
as well just to get back to eps format, which I prefer to use in the tex file.
Cheers
It was just that an embedding problem... I also used
Code: Select all
pdftops -eps
Code: Select all
ps2eps
as well just to get back to eps format, which I prefer to use in the tex file.
Cheers
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
gnuplot infinity symbol with eps figures in latex
Now that the problem is solved, please be so kind and mark the topic (not the last post) accordingly as clearly written in the Board Rules (to be read before posting). Please keep that in mind for the future so that further reminders will not be necessary.
Best regards and welcome to the board
Thorsten
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10