使用Gnuplot制作一个单一文件输出的LaTeX图形。

huangapple go评论63阅读模式
英文:

Making latex figures with a single file as output in gnuplot

问题

我一直在使用epslatex终端在gnuplot中制作科学图表,用于一篇论文,我得到两个文件的输出 - .tex文件和.eps文件 - .tex文件包含所有标签和标题,.eps文件包含无标签的图形。然而,当我提交论文时,期刊说对于他们来说,一个图形有两个文件是有问题的,他们要求我上传单个文件。

我找不到在不完全放弃gnuplot的情况下实现这一点的方法,而且在这种情况下,重新使用不同的编程语言重新绘制所有图形将是一项艰巨的任务。

是否有办法将图形作为单个输出文件并摆脱.tex文件?

感谢任何帮助。

英文:

I have been using the epslatex terminal to make scienctific figures, for a paper, in gnuplot and I get the output in the form of two files - .tex file and .eps file - with the .tex containing all the labels and titles and .eps file containing the unlabelled figure. However, when I submitted the paper, the journal said that having the two files for a figure is problematic for them and that I should upload the figures as single files.

I am unable to find a way to do that without abandoning gnuplot all together, and in that case it would be a massive task replotted all the figures using a different programming language.

Is there any way to get the figure as a single output file and get rid of the .tex file?

Any help is appreciated.

答案1

得分: 1

我建议查看gnuplot的latex终端指南。根据期刊的偏好,您有几个选项,可以选择纯粹的PDF或纯粹的TeX格式来呈现图表。根据我的经验,如今通常是PDF,但这取决于期刊的要求。

无论您选择哪种方式,我建议使用tikz终端。它会生成一个单独的*.tex文件,期刊可能会直接接受,或者您可以运行TeX文件通过pdflatex来生成一个单独的PDF文件。

英文:

I suggest having a look at the gnuplot latex terminal guide. You have several options, depending on whether the journal would prefer the figure as purely PDF or purely TeX. In my experience it's usually PDF these days, but it depends on the journal.

Either way you go, I recommend using the tikz terminal. It outputs a single *.tex file which the journal might accepts as-is, or you can run the TeX file through pdflatex to produce a single PDF file.

huangapple
  • 本文由 发表于 2023年2月23日 21:26:55
  • 转载请务必保留本文链接:https://go.coder-hub.com/75545489.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定