95.36.3 凡例行の追加 (extra key entries)

通常、各グラフに対して凡例内に 1 行のエントリが自動生成されます。凡例 内に見た目をより細かく制御したい場合は、コマンド plot, splot にキ ーワード keyentry をつけることで、余分に凡例行を追加できます。plot にファイル名や関数名を与える代わりに、keyentry をその場所に指定し、 スタイル情報 (凡例の記号を生成するのに使用される) とタイトルをその後ろ に指定します。 例:
    plot $HEATMAP matrix with image notitle, \
         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 with labels nopoint title "as reported in [12]", \
         keyentry with boxes fc palette cb 5 title "strong effect"

竹野茂治@新潟工科大学
2019-12-04