How do I include greek letter in gnuplot?

gnuplot

Solution

Using the syntax `{/Symbol a}` requires that you enable the `enhanced` mode. This can be done in several ways:

When setting the terminal

set terminal ... enhanced

After setting the terminal with

set termoption enhanced

Explicitely for a single label

set xlabel '{/Symbol a}' enhanced

Depending on the output terminal you are using, the best option is to use utf-8 encoding and directly input the characters:

set encoding utf8
set xlabel 'α'

Problem

I'm using ubuntu 14.04 and gnuplot-x11, and found that for greek letter alpha, {/symbol a} will work, but that just shows me {/symbol a}, not greek letter alpha. I tried {\symbol a} or other options, but that does not work..

Original source