我正在尝试在 gnuplot postscript 输出的同一页上绘制多个图。虽然我喜欢情节的外观,但我能做些什么来避免情节上的文字呢? (请参阅下面的代码以及情节)。如果您看不到绘图上的文本,它会显示:“'../binsam_Omidi.dat' using 5:($1==1?$6:1/0)”
reset
set term postscript eps color size 10,10
set output "../Results/phasespace_bins.ps"
set multiplot layout 4,5 # engage multiplot mode
set size square
set size ratio -1
plot '../binsam_Omidi.dat' using 5:($1==1?$6:1/0) w p ps 1 pt 7
set size 0.4,0.4 # set the size of the second plot in plot units
set origin 0.15,0.5 # set the origin for the second plot
plot '../binsam_Omidi.dat' using 5:($1==1?$6:1/0) w p ps 1 pt 7
unset multiplot
谢谢!
最佳答案
这是情节的图例(关键)条目。您可以使用 title
选项指定您自己的标题,例如
plot x title 'my title'
如果您没有指定自己的标题,则使用绘图命令的代码。这就是您所看到的。
如果单个绘图没有按键输入,请使用 notitle
或 title ''
。如果您根本不想拥有任何 key ,请使用取消设置 key
。
关于使用 gnuplot 在同一页面上绘制多个图;试图避免情节上的文字,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21123730/