我需要在密钥中编写LaTeX表达式,类似于在epslatex终端中没有斜体的V_x。
我已经尝试过$\text{V}_{\text{x}}$
,但它没有提供所需的输出。无论如何有使用gnuplot的方程式?以下是我的完整脚本
set terminal epslatex color standalone size 5.0in,5.25in
set output 'output.tex'
pl 'file.txt' u ($2-1):(($1-21.5) w p pt 5 ps 1.0 lc 7 title '\text{V}_{\text{x}}=0.6'
unset out
set out
system('latex output.tex && dvips output.dvi && ps2pdf output.ps')
system('mv output.ps out2.eps')
unset terminal
set out