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..
To create any of these Greek letters using the Alt codes, simply press the "Alt" key while simultaneously typing the listed number. For example, to create the Greek letter Alpha (α), press the "Alt" key and type 224 using the keypad at the right side of your keyboard.
You can press the Alt key in combination with numbers on the numeric keypad to insert the Sigma symbol: Press Alt + 229 to enter lower case Sigma (σ) Press Alt + 228 to enter upper case or capital letter Sigma (Σ)
Display a superscript in the title using the ^ character. The ^ character modifies the character immediately following it. Include multiple characters in the superscript by enclosing them in curly braces {} . Include the Greek letters α and μ in the text using the TeX markups \alpha and \mu , respectively.
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 'α'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With