我有一个简单的脚本:
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/