3

我怎样才能在多行甚至列中显示 gnuplot 标题。事实上,我有 8 个头衔,我刚刚使用了这个:

set key below

所以每一个都显示在单独的行中。所以人影变得拥挤。

4

1 回答 1

4

尝试这个:

set terminal postscript enhanced color
set output 'plot.eps'

set key below
plot sin(x) title "{/Arial=8 LongFunctionKeyName}", \
 sin(2*x) title "{/Arial=8 LongFunctionKeyName}", \
 sin(3*x) title "{/Arial=8 LongFunctionKeyName}", \
 sin(4*x) title "{/Arial=8 LongFunctionKeyName}", \
 sin(5*x) title "{/Arial=8 LongFunctionKeyName}", \
 sin(6*x) title "{/Arial=8 LongFunctionKeyName}", \
 sin(7*x) title "{/Arial=8 LongFunctionKeyName}", \
 sin(8*x) title "{/Arial=8 LongFunctionKeyName}", \
 sin(9*x) title "{/Arial=8 LongFunctionKeyName}", \
 sin(10*x) title "{/Arial=8 LongFunctionKeyName}", \
 sin(11*x) title "{/Arial=8 LongFunctionKeyName}", \
 sin(12*x) title "{/Arial=8 LongFunctionKeyName}", \
 sin(13*x) title "{/Arial=8 LongFunctionKeyName}"

这是 gnuplot 4.6 中的输出: 在此处输入图像描述

于 2012-04-27T03:28:54.167 回答