title: Wrong position of lables on x2-axis labels in gnuplot plots
body: <p>I want to plot the following data(which is stored in "0-time.txt")</p>
  
  <p>time_,value</p>
  
  <p>23:59:58,1</p>
  
  <p>23:59:59,2</p>
  
  <p>00:00:00,3</p>
  
  <p>00:00:01,4</p>
  
  <p>00:00:02,5</p>
  
  <p>00:00:03,6</p>
  
  <p>00:00:04,7</p>
  
  <p>00:00:05,8</p>
  
  <p>00:00:06,9</p>
  
  <p>00:00:07,10</p>
  
  <p>00:00:08,11</p>
  
  <p>00:00:09,12</p>
  
  <p>by the following gnuplot script:</p>
  
  <pre><code>set term png  size 800,600 
  
  set output "0-time.png"
  
  set datafile separator comma
  
  set grid
  
  set x2tics 6
  
  set mx2tics 3
  
  set link x2
  
  set autoscale xfix
  
  set autoscale x2fix
  
  plot "0-time.txt" skip 1 every 2 using ($0*2):(0):xticlabels(int
  
  ($0*2)%6==0 ? stringcolumn(1):''), "" using ($0):2 axes x1y1 title columnheader(2)
  
  set output
  </code></pre>
  
  <p>The output plot is alright except that labels on x2-axis is wrong. Please see the attached figure. How to correct it?<a href="https://i.stack.imgur.com/xrWHz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xrWHz.png" alt="enter image description here"></a></p>