3

次のようなマルチプロットをセットアップしました。

set terminal wxt size 1500,900
set format x "%d%m%y %H:%M:%S"
set xdata time
set timefmt x "%Y%m%dT%H%M%S"
set key font ",6"
set lmargin 10
set rmargin 10
set multiplot layout 2,1
plot "output.txt" u 1:2 w lines axes x1y1, \
"output.txt" u 1:3 w lines axes x1y2
plot "output.txt" u 1:40 w lines axes x1y1, \
"output.txt" u 1:39 w lines axes x1y2
set y2tics border
unset multiplot

これは機能し、上下に2つのプロットが表示されます。

しかし、「再プロット」ボタンを押す (またはズームを使用する) と、2 番目のプロットがウィンドウいっぱいになり、最初のプロットが完全に非表示になります。

4

3 に答える 3