projects
/
experiments
/
gnuplot_seasonal_plot.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bb49958
)
full_range_seasonal.gnuplot: add a note about xtics placement
master
author
Antonio Ospite <ao2@ao2.it>
Fri, 30 Nov 2018 15:31:13 +0000
(16:31 +0100)
committer
Antonio Ospite <ao2@ao2.it>
Fri, 30 Nov 2018 15:31:13 +0000
(16:31 +0100)
full_range_seasonal.gnuplot
patch
|
blob
|
history
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