When using time data on the X axis, the major tics are rounded to start-of-month dates, even if the tics interval was specified as some round number of days. How do I force the tics to be placed at the specified interval?
set term png size 800,200 font "arial,10"
set output "bug-timetics.png"
set timefmt "%Y-%m-%d"
set xdata time
set format x "%Y-%m-%d"
nweeks=6 # Spacing of major tics in weeks
set xtics "2011-12-18",nweeks7246060,"2014-12-31"
set mxtics nweeks
plot "-" using (timecolumn(1)):2 title "dots" with linespoints pt 7 ps 2
Note that the major tics should be exactly 6 weeks apart, but are being placed instead at (some) start-of-month days. The minor tics following each major tic are 7 days apart, as they they should, but start againg at every major tic and etend beyond the next major tic, so that they end up irregularly spaced too.