我正在使用如下格式的数据文件绘制gnuplot图表:
01 value_1_1 value_2_1
02 value_1_1 value_2_1
...
01 value_1_n value_2_n
使用该命令:
plot "action.dat" using 2:xtic(1) with boxes ls 1 title "First title",\
"action.dat" using 3:xtic(1) with boxes ls 2 title "Second title";
从第一列加载X轴标签。当终端大小不足时,标签开始重叠。如果标签重叠了,如何隐藏前一个标签?或者至少如何只绘制第n个标签?
我尝试做了这样的事情:
set xtics 10 rotate by -90
但是失败了。