我有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