gpt4 book ai didi

gnuplot - 使用 GNUplot 在图形图例中插入希腊字母

转载 作者:行者123 更新时间:2023-12-04 00:43:11 24 4
gpt4 key购买 nike

我正在尝试使用以下代码将希腊符号合并到我的图表中,但两次出现类似的错误。

警告:增强的文本模式解析器 - 忽略虚假的

警告:增强的文本模式解析器 - 忽略虚假的

reset

# svg
#set terminal svg size 410,250 fname "Times New Roman" \

set terminal svg size 410,250, enhanced fname 'Times New Roman' \

fsize "12" rounded dashed
set output "data1.svg"

set tics nomirror

# color definitions
set style line 1 lc rgb "#8b1a0e" pt 1 ps 1 lt 1 lw 2 # --- red
set style line 2 lc rgb "#5e9c36" pt 2 ps 1 lt 2 lw 2 # --- green

set key bottom right

plot "abc.htm" using 1:2 title "N('\alpha', T)" w lp ls 1, \
"abc.htm" using 1:3 title "N(\beta, T)" w lp ls 5

PS:在我启用 svg 终端的增强模式之前,代码运行良好,因为我需要它来在我的图形图例中插入希腊字母。我使用的是版本 4.6,补丁级别 5。任何人都可以帮助我吗?

最佳答案

正确的做法是

  1. 使用终端的enhanced选项(你用过)
  2. {/Symbol a} 作为 alpha。

在网络上搜索 symbols + gnuplot,您会找到类似 http://mathewpeet.org/lists/symbols/ 的列表使用 gnuplot 可以理解的代码!

关于gnuplot - 使用 GNUplot 在图形图例中插入希腊字母,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26481588/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com