【发布时间】:2017-08-09 17:10:59
【问题描述】:
我目前正在尝试在 Gnuplot 中输出仅显示绘图的图像,没有抽动、边框或边距。我正在使用“splot”和命令
set terminal pngcairo size 1024,768 enhanced
set output 'output.png'
unset colorbox
set lmargin 0
set rmargin 0
set tmargin 0
set bmargin 0
unset tics
set pm3d map
set palette
set zero 1E-40
set cbrange[0:16]
set xrange[-1.7999999105699706625216549582546577:-1.7999999105620294592711161385523155]
set yrange[-2.941176470588235211202093999389572e-12:2.941176470588235211202093999389572e-12]
splot "splot.dat" using 1:2:3 with pm3d notitle
unset output
但是我得到的图片是image。边距是白色的,因此它与此网页的背景混合在一起,但是如果您保存图像并查看它,可以清楚地看到边距存在。非常感谢您对这个问题的任何帮助。
谢谢。
【问题讨论】:
标签: gnuplot