電気ひつじ牧場

技術メモ

2019-11-05から1日間の記事一覧

gnuplotのスクリプトをコマンドラインから実行したい

set title "test" plot sin(x) これをtest.pltとして $ gnuplot test.plt としても何も起きない(ように見える)。実際にはグラフが表示されてすぐ消えてるらしい。 test.pltを次のようにすると、グラフが表示される。 set title "test" plot sin(x) pause -1