terminal - 如何在 Gnuplot 中启用 pngcairo 终端

标签 terminal png gnuplot

我想将图形绘制为 PNG 格式(避免使用转换),但是我的 Gnuplot 发行版不提供 PNGCAIRO 终端。如何安装/启用它?我在 Mac OS X 10.6 上使用 Gnuplot 4.4,补丁级别 2。

[me]machine @ test $ gnuplot

G N U P L O T
Version 4.4 patchlevel 2
last modified Wed Sep 22 12:10:34 PDT 2010
System: Darwin 10.8.0

Copyright (C) 1986-1993, 1998, 2004, 2007-2010
Thomas Williams, Colin Kelley and many others

gnuplot home:     http://www.gnuplot.info
faq, bugs, etc:   type "help seeking-assistance"
immediate help:   type "help"
plot window:      hit 'h'

Terminal type set to 'x11'
gnuplot> set terminal pngcairo
                      ^
     unknown or ambiguous terminal type; type just 'set terminal' for a list

最佳答案

如果您正在运行 homebrew ,您只需一个命令行即可安装所有内容
brew install gnuplot --with-cairo

关于terminal - 如何在 Gnuplot 中启用 pngcairo 终端,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10496469/

相关文章:

linux - 任何人都有想法,这是什么编辑器?

Delphi,处理 png 和位图的 ImageList

c# - 将 .dds 转换为 .png : is XNA really this convoluted?

ruby-on-rails - Paperclip - 将 SVG 转换为 PNG 时保持透明度

gnuplot - 在 gnuplot 中尝试曲线拟合时,错误消息 "w = 0 in Givens();"是什么意思?

bash - shell 脚本: kill program after set time if output file is empty

macos - 我可以将命令行脚本转换为 AppleScript 吗?

c++ - 有没有办法让vim在另一个终端窗口中运行 “make”命令?

gnuplot - 如何 sprintf() Gnuplot 键中的最后一个数据值?

file - 在 gnuplot 中读取外部数据文件