如何在Gnuplot中启用pngcairo终端 [英] How do I enable the pngcairo terminal in Gnuplot
本文介绍了如何在Gnuplot中启用pngcairo终端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想将图形绘制为PNG格式(避免使用convert),但是我的Gnuplot发行版不提供PNGCAIRO终端.如何安装/启用它?我在Mac OS X 10.6上使用Gnuplot 4.4(补丁程序级别2).
I would like to plot a figure to PNG format (avoiding using convert), however my Gnuplot distribution does not offer the PNGCAIRO terminal. How can I install/enable it? I use Gnuplot 4.4, patchlevel 2 on Mac OS X 10.6.
[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 ,您只需一个命令行即可安装所有内容
If you are running homebrew, you can install everything with just one command line
brew install gnuplot --with-cairo
这篇关于如何在Gnuplot中启用pngcairo终端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文