« Return to Thread: Angstroms symbol in Gnuplot

Re: Angstroms symbol in Gnuplot

by Thomas Sefzick () :: Rate this Message:

Reply to Author | View in Thread

you don't need a special file.
define GDFONTPATH and then give the filename
(without extension) as font name when setting the
terminal to png.

an example:

i want to use luxi roman regular, the font file is there:

/usr/share/fonts/truetype/luxirr.ttf

in the shell i set:

export GDFONTPATH=/usr/share/fonts/truetype

and in gnuplot:

set encoding iso_8859_1
set xlabel 'Wavelength (\305)'
set term png enhanced font luxirr
set output 'test.png'
plot x
set output

sgiani wrote:
... yap! but what if the term is png enhanced?
do I have maybe to have a special *.ttf in my GDFONTPATH?

 « Return to Thread: Angstroms symbol in Gnuplot