s******r 发帖数: 85 | 1 【 以下文字转载自 Linux 讨论区 】
【 原文由 stranger 所发表 】
如果我选择输出为png, 如何在标题里用latex的格式?
我按照一般写法输入, 如 set title "$\\mu$", 显示只是\mu
输入 set title "$\mu$", 显示是mu
如果把terminal 换成latex
可是生成pdf(latex dvipdfm xpdf)出来的图没有颜色
如果用pslatex
只能首先编辑成ps文件,可是我不想这么麻烦
问题是;如何直接在图片格式里显示latex能识别的东西? | x*****u 发帖数: 3419 | 2 我这里有一个gnueps的script
#
# Assumes the gnuplot file .gp declares output .tex
# (Probably should assume a pipe, but oh well. Next version.)
# Creates .eps files.
# Preforms zero error-checking.
# Works with gnuplot 3.7, though I had to double my backslashes, e.g.
# in gnuplot 3.6 I had 'title "$\gamma"', but now 'title "$\\gamma"'.
#
# To use : Make this executable and put it somewhere in your path.
# Usage : epsify
# Example: for item in $(ls *.gp); do epsify $item; done
#
【在 s******r 的大作中提到】 : 【 以下文字转载自 Linux 讨论区 】 : 【 原文由 stranger 所发表 】 : 如果我选择输出为png, 如何在标题里用latex的格式? : 我按照一般写法输入, 如 set title "$\\mu$", 显示只是\mu : 输入 set title "$\mu$", 显示是mu : 如果把terminal 换成latex : 可是生成pdf(latex dvipdfm xpdf)出来的图没有颜色 : 如果用pslatex : 只能首先编辑成ps文件,可是我不想这么麻烦 : 问题是;如何直接在图片格式里显示latex能识别的东西?
|
|