我是gnuplot的新手,在绘制堆积直方图时,我发现图例被数据遮挡了。
有没有一种方法可以将图例放在数据上方?非常感谢您的帮助。 编辑:我目前正在使用“set key outside bottom”将图例放在外面,但这不是我想要的最佳解决方案。
有没有一种方法可以将图例放在数据上方?非常感谢您的帮助。 编辑:我目前正在使用“set key outside bottom”将图例放在外面,但这不是我想要的最佳解决方案。
set multiplot
unset key
plot sin(10*x) # this will plot with tics and a border, but no key
set key box
unset tics
unset border
bignumber=10 # make this number larger than the y range so the line will not be seen
plot [][0:1] bignumber title 'sin(10*x)' # this will just plot the key with the title
unset multiplot
set key opaque
命令,它可以在所有数据绘制完成后绘制键! - andyras