相关疑难解决方法(0)

如何在Gnuplot中启用pngcairo终端

我想将一个数字绘制成PNG格式(避免使用转换),但是我的Gnuplot发行版不提供PNGCAIRO终端.我该如何安装/启用它?我在Mac OS X 10.6上使用Gnuplot 4.4,patchlevel 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 …
Run Code Online (Sandbox Code Playgroud)

terminal png gnuplot

15
推荐指数
3
解决办法
2万
查看次数

gnuplot png输出不绘制虚线/虚线

我正在尝试使用gnuplot v4.4绘制包含虚线和连续线的图形.代码是:

set term postscript eps enhanced color
set style line 1 linetype 1 lw 2
set style line 2 linetype 1 lw 2 linecolor rgb 'green'
set style line 3 linetype 1 lw 2 linecolor rgb 'blue'
set style line 4 linetype 4 lw 2 linecolor rgb 'red'
set style line 5 linetype 3 lw 2 linecolor rgb 'blue'

set border lw 3
set xtics font ',18'
set ytics font ',18'
set output 'roc.ps'
set key right bottom
plot …
Run Code Online (Sandbox Code Playgroud)

gnuplot

13
推荐指数
1
解决办法
2万
查看次数

标签 统计

gnuplot ×2

png ×1

terminal ×1