Gnuplot 4.4 和 TikZ 的问题

发布于 2024-09-07 14:51:31 字数 306 浏览 2 评论 0原文

我使用的是 Gnuplot 4.4,编译时支持 Lua。据说它有 tikz 终端。

我已经使用“setterminal tikz”成功地将我的gnuplots编译为tex。但是,当将此源添加到我的乳胶文档时,我不断收到以下错误:

!包 pgfkeys 错误:我不知道密钥 '/tikz/gnuplot',我要去 t 忽略它。也许你拼错了。

我已将 tikz 包包含在原始 tex 文档中。有什么想法吗?

编辑:已解决。请参阅下面的答案。

I'm using Gnuplot 4.4, compiled with Lua support. It supposedly has the tikz terminal.

I've successfully compiled my gnuplots to tex using "set terminal tikz". However, when adding this source to my latex document I keep getting the following error:

! Package pgfkeys Error: I do not know the key '/tikz/gnuplot' and I am going t
o ignore it. Perhaps you misspelled it.

I've included the tikz package in the original tex document. Any ideas?

EDIT: Solved. See answer bellow.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

扭转时空 2024-09-14 14:51:31

在找到解决方案之前我没有屈服:

\usepackage{gnuplot-lua-tikz}

如果您没有 gnuplot-lua-tikz.sty,只需从最新的 gnuplot 开发快照中获取它

http://sourceforge.net/projects/gnuplot/

I didn't give in until I found a solution:

\usepackage{gnuplot-lua-tikz}

If you don't have the gnuplot-lua-tikz.sty just get it from the latest gnuplot development snapshot

http://sourceforge.net/projects/gnuplot/

陌路黄昏 2024-09-14 14:51:31

不幸的是,我不能在这里发表评论,因此有一个新的答案。 .sty 文件是不够的,您需要 gnuplot 中的以下两个文件(不幸的是,cran 上没有 gnuplot-lua-tikz 包):

gnuplot-lua-tikz.sty
gnuplot-lua-tikz-common.tex

Unfortunately I am not allowed to comment here, hence a new answer. The .sty file is not sufficient, you need both of the following files from gnuplot (unfortunately the package is no gnuplot-lua-tikz package at cran):

gnuplot-lua-tikz.sty
gnuplot-lua-tikz-common.tex

空‖城人不在 2024-09-14 14:51:31

对于后来不幸的 Fedora 用户:这里包含这个的包是 gnuplot-latexdnf 无法将其识别为 tex(gnuplot-lua-tikz.sty)

For later happless Fedora users: The package containing this here is gnuplot-latex, dnf doesn't recognize it as tex(gnuplot-lua-tikz.sty).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文