使用 'with image' 时 gnuplot 抽动消失

标签 gnuplot

我有一个简单的脚本:

set term postscript portrait color
set output 'output.ps'
plot 'data_file' using 1:2:3 with image, 'data_file2' using 1:2 with lines

问题是 with image 命令使抽动在两个轴上消失,我无法让 gnuplot 显示它们,除非我删除该命令,因为我正在绘图,所以我不能删除该命令a cbrange (第三列是范围)

谢谢。

最佳答案

pm3d 与“plot ... with image”不同,因此解决方法可能不是最佳解决方案。看起来,当您使用“with image”选项时,gnuplot会自动将抽动设置为背景,所以

set tics front

应该可以解决问题(至少在我的情况下是这样)。

关于使用 'with image' 时 gnuplot 抽动消失,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10886943/

相关文章:

gnuplot tikz 终端

linux - 如何使用 Gnuplot 4.6 和 AIX 7.2 修复 "Could not find/open font when opening font arial..."和模糊的 png?

Gnuplot:系列标题之间的垂直间距

plot - 具有来自数据点的 2 x 轴的 gnuplot

latex - 需要减少这个空白,但似乎在我能做的范围内(GNUPLOT)

Gnuplot,如何“跳过”丢失的数据文件?

bash - gnuplot 直方图 : line 0: Too many columns in using specification

c++ - 如何在 C++ 中实时绘制 Gnuplot 中的图形?

gnuplot - 如何在gnuplot中的zrange内拟合3D数据

data-visualization - 如何在 Gnuplot 中显示堆叠条形图?