我有gnuplot圖的麻煩。軸x和y寫得不好。 bash中的腳本就在這裏。Gnuplot座標軸x和y
echo "set terminal png 8;
set output name.png
set multiplot
set timefmt '%s';
set title \"$LEGEND\";
set xdata time;
set format x$CASOVY_FORMAT;
set xrange [:]
set yrange [:]
unset colorbox
plot '$docasnyadr/data_timestamp_1' u 1:2 t '' w lines lw 1 lc 1
plot '$docasnyadr/data_timestamp_2' u 1:2 t '' w lines lw 1 lc 2
plot '$docasnyadr/data_timestamp_3' u 1:2 t '' w lines lw 1 lc 3" | gnuplot
數據的文件格式爲timestamp any_number
。這裏是一張圖片:
我需要自動xrange和自動yrange。你可以幫我嗎?
謝謝,它的工作原理 – 2013-05-13 21:14:03