character-encoding - gnuplot 中的星号

标签 character-encoding gnuplot symbols postscript figure

我正在尝试使用

gnuplot 中生成一个 .eps 图
set terminal postscript eps enhanced color solid 

我想在我的图中包含一个包含一些星号的情节的标题,例如 ★ ☆

我试过这个:

plot "./mydata" u 1:2 title "★ ☆"

还有这个:

stars = sprintf("★ ☆")
plot "./mydata" u 1:2 title stars

但它们都不起作用。

有什么想法吗?

最佳答案

set term postscript enh color eps
set output 'test.eps'
set title 'star1:{/ZapfDingbats \110} star2:{/ZapfDingbats \111}'
plot sin(x)

查看包含在 gnuplot 发行版中的 docs/psdoc/ps_guide.ps。这就是我在寻找特殊后记字符时去的地方......

关于character-encoding - gnuplot 中的星号,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11398657/

相关文章:

json - Powershell Invoke-WebRequest 和字符编码

delphi - 如何使用Delphi检测文本文件的字符编码?

mysql - UTF-8字符有问题;我看到的不是我存储的

嵌套函数的 Gnuplot 拟合

sympy - 如何在 SymPy 中定义大量符号

xcode - 如何通过 OS X 上的系统库进行调试?

java - Swift 解码和编码字符串

GNUplot - 如何将图像作为关键?

Gnuplot 日期与日期

c - 指向全局数组中元素位置的全局变量(在 C 中)