如何在 gnuplot 中编写 h-bar?

问题描述 投票:0回答:1

我们可以直接从键盘或使用 postscript 方法写出不同的希腊符号,例如 {/Symbol a}。 我想写简化的普朗克常数,即 h-bar 或 h-cut。但是我找不到任何好的方法。

在谷歌搜索中我找到了这个链接,但它并不令人满意。我想知道是否有更好的做法。

graphics gnuplot graphing
1个回答
0
投票

从 gnuplot 5.4 版本开始,您可以通过字符的 unicode 指定字符 价值。对于简化的普朗克,它是

\U+210F
。例如,

set terminal postscript portrait "Helvetica,20" size 10cm,10cm
set output 'pic.eps'
set encoding utf8
set title "Reduced Planck \U+210F"
set key off
plot "-" with lines
2 2
3 3
end

© www.soinside.com 2019 - 2024. All rights reserved.