[Pw_forum] Greek letter in gnuplot bandplot

Lorenzo Paulatto lorenzo.paulatto at impmc.upmc.fr
Fri Dec 9 12:30:06 CET 2016

Dear Alberto,
there are many ways to get Greek letter in gnuplot, what will work for you 
depends on two important parameters: 1. the version of gnuplot 2. the kind of 
gnuplot termina lyou are using.

If you are using one of the latex terminals you can usually put latex commands 
in the labels. If you are NOT using a latex terminal, you usually have to set 
the "enhanced" option of the terminal (if it has it) for the {/Symbol G} 
gimmick to work


p.s. you'll find much more information googling "greek letters gnuplot"

On Friday, December 9, 2016 12:17:05 PM CET alberto wrote:
> ​Hi,
> I'm trying to plot results of band structure with gnuplot.
> I want insert label of K-points in x-axis
> I use this code
> set output "DOS.png"
> set encoding iso_8859_1
> set xlabel ""
> set ylabel ""
> set title "DOS"
> set xtics
> unset key
> plot 'OCC_130.dat'  u ($1-3.4):xtic(2) w lp lt 1 pt 6,
> in file energy there is the energy in column 1 and in the column 2 {/Symbol
> G}. I obtain an uncodified character.
> How can I fix it?
> Alberto

Dr. Lorenzo Paulatto 
IdR @ IMPMC -- CNRS & Université Paris 6
phone: +33 (0)1 44275 084 / skype: paulatz
www:   http://www-int.impmc.upmc.fr/~paulatto/
mail:  23-24/4é16 Boîte courrier 115, 4 place Jussieu 75252 Paris Cédex 05

More information about the users mailing list