Re: [问题] Gnuplot 绘图 terminal pdfcairo

楼主: curiosity2 (dog)   2021-04-28 18:33:14
※ 引述《curiosity2 (dog)》之铭言:
: 因为目前使用 pdflatex , 如果使用 gnuplot 画数据图,
: terminal pdfcairo
: 想要打出 Latex 符号 可以吗?
: 以前 使用 terminal pslatex 时是可以,但现在 用
: terminal pdfcairo 就不知道该如何做了?
我后来使用
set term cairolatex pdf color fontscale 0.46 font "Arial"
set output "abcd.tex"
这样就会 得到 abcd.tex 和 abcd.pdf 这两个档案。
在 Latex 主文件 (譬如 main1.tex) 中 , 加入
\input{abcd.tex}
再执行 pdflatex main1.tex 这样输出的 main1.pdf 中 就会有 abcd 这个图形显示。
上述的过程中,我还得要 编辑 abcd.tex 将当中
\includegraphics{abcd} 改为 \includegraphics{abcd.pdf}
才能进行 pdflatex main1.tex
作者: EdwardGJLee (LGJ)   2021-04-28 19:09:00
感谢分享!

Links booklink

Contact Us: admin [ a t ] ucptt.com