gnuplot_scripts: Fix wrong date format

According to http://gnuplot.sourceforge.net/docs_4.2/node295.html
GnuPlot4.6 otherwise sets wrong xtics
This commit is contained in:
2018-10-16 22:51:52 +02:00
parent 42da10c041
commit 45279bb97e
2 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ set xdata time
set format x '%Y'
set xrange ['1998-12-31':'2018-11-01']
set xrange ['1998-12-31':STATS_max + 60*60*24*21] # 21 Tage 'Luft'
set xtics '01.01.1950', 60 * 60 * 24 * 365.25 * 1
set xtics '1950-01-01', 60 * 60 * 24 * 365.25 * 1
set xtics nomirror
set mxtics 12
#set xlabel 'Date'

View File

@@ -38,7 +38,7 @@ set grid linestyle 1, linestyle 2 # Setzen des linestyle für Major u. Minor
set xdata time
set format x '%Y'
set xrange ['1998-12-31':STATS_max + 60*60*24*150] # 150 Tage 'Luft'
set xtics '01.01.1950', 60 * 60 * 24 * 365.25 * 5
set xtics '1950-01-01', 60 * 60 * 24 * 365.25 * 5
set xtics nomirror
set mxtics 5
# set xlabel 'Date'