在 gnuplot 包括 Angstrom 和希臘字母?

在 gnuplot 包括 Angstrom 和希臘字母?

我正在使用 gnuplot,並希望在圖中獲得“Angstrom”的符號(iso 編碼 305)和希臘字母 Delta(符號 104)。在產生輸出 eps 時如何組合兩種編碼方案?

答案1

Symbol對於我來說,使用 Angstrom 的 UTF8 字符以及Δ 的字體或 UTF8 字符,這對我來說沒有問題:

set xlabel "{/Symbol D} Δ (Å)"

在 PDF 終端中給出: 結果

編碼為預設值,但 UTF8 作為系統範圍的區域設定:

gnuplot> show encoding

nominal character encoding is default
however LC_CTYPE in current locale is fr_FR.UTF-8

相關內容