设置网格 x 但不在 00:00:00.000
set grid x but not at 00:00:00.000
我想知道是否可以设置网格 x 但它不会在时间 00:00:00.000
开始
set grid x layerdefault front
set xtics nomirror
set ytics nomirror
set xdata time
set timefmt "%H:%M:%S"
set format x "%H:%M:%.3S"
set xrange ["00:00:00.000":maxtime]
网格可以设置为使用任何或所有 x 抽动(标记的)、mxtics("minor"、未标记的)、x2tics(顶部的次轴)或 mx2tics(次要抽动轴。对于您显示的绘图,一种选择是关闭 xtics 并沿 x2 设置 tic,在零处省略 tic。
... everything as before, then add ...
set x2data time # configure secondary axis to match primary axis
set link x2 # same range and scale on both primary and secondary x axis
set grid nox x2 # set xtics off, x2tics on
set x2tics 30., 30. # tics every 30 seconds starting at 30 seconds
set x2tics format "" # don't label the x2 tics
set x2tics scale 0,0 # we don't want the tic marks themselves, just the locations
我想知道是否可以设置网格 x 但它不会在时间 00:00:00.000
开始set grid x layerdefault front
set xtics nomirror
set ytics nomirror
set xdata time
set timefmt "%H:%M:%S"
set format x "%H:%M:%.3S"
set xrange ["00:00:00.000":maxtime]
网格可以设置为使用任何或所有 x 抽动(标记的)、mxtics("minor"、未标记的)、x2tics(顶部的次轴)或 mx2tics(次要抽动轴。对于您显示的绘图,一种选择是关闭 xtics 并沿 x2 设置 tic,在零处省略 tic。
... everything as before, then add ...
set x2data time # configure secondary axis to match primary axis
set link x2 # same range and scale on both primary and secondary x axis
set grid nox x2 # set xtics off, x2tics on
set x2tics 30., 30. # tics every 30 seconds starting at 30 seconds
set x2tics format "" # don't label the x2 tics
set x2tics scale 0,0 # we don't want the tic marks themselves, just the locations