1
私は、異なる桁の列を含むデータファイルを持っています。私は、同じキャンバスに集合的に同様の大きさのすべての列をプロットしたいと思います。私はstats
コマンドを使って各列の最大値をテストします。Gnuplot:プロットキャンバスを切り替える
私はこれまで
set key autotitle columnheader
set terminal pdfcairo
set out 'test.pdf'
do for [col=5:125] {
stats 'datafile' using col nooutput
if(STATS_max < 1e-7) {
#draw to canvas 1
plot 'datafile' using 1:col with lines
} else {
if(STATS_max < 1e-6) {
#draw to canvas 2
plot 'datafile' using 1:col with lines
} else {
#draw to canvas 3
plot 'datafile' using 1:col with lines
}
}
}
を試みたが、キャンバスの切り替えにはまだ問題を解決することができませんでした。
time 5.000/5.000 5.000/4.000 ...
1e-5 7.6e-23 3.057e-17 ...
0.002 3.4e-17 5.2e-13 ...
. . . .
. . . .
. . . .
は、この動作を実現する方法はありますし、そうであれば、どのように:
ファイルが(あるタイトル1行目)のように見えますか? ありがとうございます。
完全に動作します。ありがとう! – camelCase