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.
インタラクティブモードでは、gnuplotは現在のプロットのすべての設定を記憶しています。'replot'と入力するとどうなるかわかります。それで、現在のすべての設定をスクリプトファイルにダンプする方法はありますか?
コマンドを参照してくださいsave。
save
次のように使用します。
save "My_stuff_goes_to_this_file.txt"
ドキュメントからの(小さな)抜粋は次のとおりです。
このsaveコマンドは、ユーザー定義の関数、変数、set termステータス、すべてsetのオプション、またはこれらすべてに加えて、最後のplot (splot)コマンドを指定されたファイルに保存します。 構文:save{option}'ファイル名'
このsaveコマンドは、ユーザー定義の関数、変数、set termステータス、すべてsetのオプション、またはこれらすべてに加えて、最後のplot (splot)コマンドを指定されたファイルに保存します。
set term
set
plot
splot
構文:save{option}'ファイル名'