作者curiosity2 (dog)
看板Linux
標題Re: [問題] Gnuplot 繪圖 terminal pdfcairo
時間Wed Apr 28 18:33:14 2021
※ 引述《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
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.116.92.50 (臺灣)
※ 文章網址: https://webptt.com/m.aspx?n=bbs/Linux/M.1619605996.A.7BF.html
1F:推 EdwardGJLee: 感謝分享! 04/28 19:09
※ 編輯: curiosity2 (140.116.92.50 臺灣), 04/28/2021 19:53:14
→ curiosity2: http://gensoft.pasteur.fr/docs/gnuplot/5.0.4/node425.html
※ 編輯: curiosity2 (140.116.92.50 臺灣), 05/07/2021 09:40:47