full_range_seasonal.gnuplot: add a note about xtics placement master
authorAntonio Ospite <ao2@ao2.it>
Fri, 30 Nov 2018 15:31:13 +0000 (16:31 +0100)
committerAntonio Ospite <ao2@ao2.it>
Fri, 30 Nov 2018 15:31:13 +0000 (16:31 +0100)
full_range_seasonal.gnuplot

index f92cf07..72fc7a6 100755 (executable)
@@ -94,6 +94,9 @@ set yrange [ymin:ymax]
 x_samples = seasons_between_dates(xmin, xmax) + 1
 set samples x_samples, 100
 
 x_samples = seasons_between_dates(xmin, xmax) + 1
 set samples x_samples, 100
 
+# NOTE that the ticks will be placed at the beginning of months regardless of
+# the day of the month of xmin. See:
+# https://stackoverflow.com/questions/42212039/gnuplot-xtic-labels-mispositioning-with-dates
 set xtics xmin,three_months
 
 set terminal qt 0
 set xtics xmin,three_months
 
 set terminal qt 0