Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
GNU の同じグラフに 6 つの異なるカラーラインを含むプロットがあります。今私の問題は、グラフの右側にある各行の説明を与えることです。つまり、凡例を追加する必要があります。
この問題に役立つコマンドは何ですか? 例:図が添付されているように凡例を追加する必要があります:
で凡例を有効にします
set key
プロットの各行にわかりやすいタイトルを追加します。例えば:
plot x title "simple x function", x**2 title "quadratic function"