projects
/
experiments
/
gnuplot_seasonal_plot.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
full_range_seasonal.gnuplot: add a note about xtics placement
[experiments/gnuplot_seasonal_plot.git]
/
full_range_seasonal.gnuplot
diff --git
a/full_range_seasonal.gnuplot
b/full_range_seasonal.gnuplot
index
f92cf07
..
72fc7a6
100755
(executable)
--- a/
full_range_seasonal.gnuplot
+++ b/
full_range_seasonal.gnuplot
@@
-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