【发布时间】:2021-07-29 06:58:22
【问题描述】:
我用 gnuplot 4.6 版绘制了一个频谱图。 我确保它是这里的最新版本: http://www.gnuplot.info/download.html
Gnuplot 是从 Debian 存储库安装的。
右侧的情节区域和比例包括奇怪的白线。他们似乎将数据分开。在数据密集的绘图区域,它们看起来像方格图案:
线在秤上不太明显,但它们也在那里。秤上只有水平线。
我以为是监视器色域或其他情况,但pdf monochrome也会出现线条。
我的代码是:
#!/usr/bin/gnuplot
set term pdf
# set style fill noborder # checked with and without this line
set output "../results1/fft.pdf"
set pm3d map
splot "../results1/fft.dat"
如您所见,我尝试使用选项 noborder,但无论有无线条都存在。
示例数据可以是:
0 1 3
0 2 3
0 3 4
0 4 2
0 5 2
0 6 3
0 7 4
0 8 3
1 1 3
1 2 2
1 3 4
1 4 2
1 5 2
1 6 3
1 7 4
1 8 4
2 1 2
2 2 4
2 3 4
2 4 3
2 5 2
2 6 4
2 7 2
2 8 2
3 1 2
3 2 3
3 3 3
3 4 4
3 5 2
3 6 2
3 7 2
3 8 2
你知道如何摆脱这些线条吗?
【问题讨论】:
标签: gnuplot spectrogram