From 45279bb97e8128162e25ea140e513b996846ad52 Mon Sep 17 00:00:00 2001 From: Jonathan Golder Date: Tue, 16 Oct 2018 22:51:52 +0200 Subject: [PATCH] gnuplot_scripts: Fix wrong date format According to http://gnuplot.sourceforge.net/docs_4.2/node295.html GnuPlot4.6 otherwise sets wrong xtics --- gnuplot_scripts/Euro_exchange_rate_to_TRY_6000px_wide.plt | 2 +- gnuplot_scripts/Euro_exchange_rate_to_TRY_800px_wide.plt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gnuplot_scripts/Euro_exchange_rate_to_TRY_6000px_wide.plt b/gnuplot_scripts/Euro_exchange_rate_to_TRY_6000px_wide.plt index c00fd82..3e30e93 100644 --- a/gnuplot_scripts/Euro_exchange_rate_to_TRY_6000px_wide.plt +++ b/gnuplot_scripts/Euro_exchange_rate_to_TRY_6000px_wide.plt @@ -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' diff --git a/gnuplot_scripts/Euro_exchange_rate_to_TRY_800px_wide.plt b/gnuplot_scripts/Euro_exchange_rate_to_TRY_800px_wide.plt index 4e11b79..eb633e0 100644 --- a/gnuplot_scripts/Euro_exchange_rate_to_TRY_800px_wide.plt +++ b/gnuplot_scripts/Euro_exchange_rate_to_TRY_800px_wide.plt @@ -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'