特定のパラメーターの変動を経時的に追跡する gnuplot スクリプトがあります。これは、1 つを除いて、Linux ネットワーク上のすべてのデスクトップで正常に機能します。
ここにコードと出力があります
gnuplot -geometry 1024x768 -persist << EOF
set datafile separator ","
set datafile missing ""
set size 1.0, 1.0
set origin 0.0, 0.0
# set key at 0,0
set key spacing 1.3
set key horiz ins top center box lw 0
set border 3
set multiplot
set size 0.45,0.45
set origin 0.02,0.02 #bottom left Tl H2
set grid
set xdata time
set timefmt "%d/%m/%y"
# set xtics format "%d/%m/%y"
set xrange ["$thirty_days_ago":"$todays_date_4_2"]
set xtics rotate nomirror
set xtics "$thirty_days_ago",172800,"$todays_date_4_2"
set yrange [0:30]
set ytics nomirror
set title "Tl201 CFOV $l H2" font "Helvetica"
plot \
'/misc/${camera2}_data/${camera2}/${qc}/tl_h2_qc_s' using 1:17 pt 5 ti ' NEMA Diff (%)' with linespoints,\
'/misc/${camera2}_data/${camera2}/${qc}/tl_h2_qc_s' using 1:16 lt 3 pt 5 ti 'NEMA Int (%)' with linespoints,\
'/misc/${camera2}_data/${camera2}/${qc}/tl_h2_qc_s' using 1:12 lt 4 pt 5 ti 'CoV (%)' with linespoints
set origin 0.02,0.52 #top left Tl H1
set title "Tl201 CFOV $l H1"
if ("$camera2" eq "blue1" || "$camera2" eq "red1") plot \
'/misc/${camera2}_data/${camera2}/${qc}/tl_h1_qc_s' using 1:17 pt 5 ti ' NEMA Diff (%)' with linespoints,\
'/misc/${camera2}_data/${camera2}/${qc}/tl_h1_qc_s' using 1:16 lt 3 pt 5 ti 'NEMA Int (%)' with linespoints,\
'/misc/${camera2}_data/${camera2}/${qc}/tl_h1_qc_s' using 1:12 lt 4 pt 5 ti 'CoV (%)' with linespoints
set origin 0.52,0.02 #bottom right Tc H2
set title "Tc99m CFOV $l H2"
plot \
'/misc/${camera2}_data/${camera2}/${qc}/tc_h2_qc_s' using 1:17 pt 5 ti ' NEMA Diff (%)' with linespoints,\
'/misc/${camera2}_data/${camera2}/${qc}/tc_h2_qc_s' using 1:16 lt 3 pt 5 ti 'NEMA Int (%)' with linespoints,\
'/misc/${camera2}_data/${camera2}/${qc}/tc_h2_qc_s' using 1:12 lt 4 pt 5 ti 'CoV (%)' with linespoints
set origin 0.52,0.52 #top right
set title "Tc99m CFOV $l H1"
if ("$camera2" eq "blue1" || "$camera2" eq "red1") plot \
'/misc/${camera2}_data/${camera2}/${qc}/tc_h1_qc_s' using 1:17 pt 5 ti ' NEMA Diff (%)' with linespoints,\
'/misc/${camera2}_data/${camera2}/${qc}/tc_h1_qc_s' using 1:16 lt 3 pt 5 ti 'NEMA Int (%)' with linespoints,\
'/misc/${camera2}_data/${camera2}/${qc}/tc_h1_qc_s' using 1:12 lt 4 pt 5 ti 'CoV (%)' with linespoints
unset multiplot
EOF
これを自分のマシンで実行すると、次の出力が得られます
なぜこれがとても厄介なのですか?トグル グリッド ボタンをクリックすると、4 つのプロットのうち 3 つが失われますが、1 つのプロットはより適切に表示されます。
test コマンドの出力は次のとおりです。良さそう
gnuplot の問題ではなく、Linux の設定の問題のようです。RedHat クライアント リリース 5.8 を実行しています。ここで何が起こっているかについてのアイデア