set key outside right center
plot $HEATMAP matrix with image notitle, \
keyentry "Outcomes" left, \
keyentry with boxes fc palette cb 0 title "no effect", \
keyentry with boxes fc palette cb 1 title "threshold", \
keyentry with boxes fc palette cb 3 title "typical range", \
keyentry title "as reported in [12]", \
keyentry with boxes fc palette cb 5 title "strong effect"
keyentry "Outcomes" left の行は、通常の凡例を保持するスペースに、文
字列を左揃えで配置します。これは、凡例の幅全体に渡ってタイトルを埋め込
ませることを可能にします。同じ keyentry に title も与えた場合は、両方
の文字列が同じ行に現れ、それにより 2 列の凡例のエントリの生成が可能に
なります。
keyentry のタイトルは、key 内の他のタイトルと同じように扱います。しか
し、'title' に続くものとは違う部分の追加文字列については、boxed,
textcolor, hypertext のような通常 labels で使用するキーワードによ
ってさらなる変更が可能です。以下参照: set label (117.41)。
例:
plot ..., keyentry "West Linn" boxed title "locations"