gnuplot - 带有 Gnuplot 的希腊字母
问题描述
我在 Gnuplot 中与希腊字母作斗争。我听从了其他线程的建议,将终端设置为“增强”并使用了 {/Symbol} 格式,但代码仍然不打印希腊字母。我的标签是“Tiefe in mm”而不是“Tiefe in µm”。
set terminal svg enhanced font "arial bold,10" size 800,600 background '#ffffff'
set ylabel "Tiefe in {/Symbol m}m"
我究竟做错了什么?谢谢您的帮助
解决方案
您可以使用将终端设置为 epslatex,然后使用希腊字母。下面是一个示例脚本
set terminal epslatex color size 5.5in,3.5in standalone
set output 'profile.tex'
set ylabel "$\\textrm{Tiefe in} \\mu$"
pl 'data.txt' u 1:2 w lp ps 2 pt 5 lw 2 lc 7 title 'Data'
unset out
set out
推荐阅读
- wordpress - 无法访问 WP Rest API V2
- geospatial - 使用 OSMnx 的等时线
- apache-spark - Apache Zeppelin Spark - 使用 Cron 调度程序运行笔记本后找不到表
- android - ScrollView 中的 MotionLayout 未针对动画更改进行优化
- reactjs - React:如何在为输入字段使用自定义组件时显示特定通知?
- liquibase - 未使用 liquibase Api 进行回滚
- firebase - Firestore FirebaseError:缺少权限或权限不足
- three.js - 使用 uvw 将对象加载到三个.js 中
- docker - dockremap rootless:如何不使用 subid 而是使用特定用途
- sql - 删除每个用户的异常值