From 857e1e39327e52301be22a24c1fab47ded8cc321 Mon Sep 17 00:00:00 2001 From: Jonathan Golder Date: Tue, 16 Oct 2018 10:52:07 +0200 Subject: [PATCH 1/6] gnuplot_scripts: Two new scripts, basic version from wiki https://commons.wikimedia.org/wiki/File:Euro_exchange_rate_to_TRY_(800px_wide).svg https://commons.wikimedia.org/wiki/File:Euro_exchange_rate_to_TRY_(6000px_wide).svg --- .../Euro_exchange_rate_to_TRY_6000px_wide.plt | 90 +++++++++++++++++++ .../Euro_exchange_rate_to_TRY_800px_wide.plt | 87 ++++++++++++++++++ 2 files changed, 177 insertions(+) create mode 100644 gnuplot_scripts/Euro_exchange_rate_to_TRY_6000px_wide.plt create mode 100644 gnuplot_scripts/Euro_exchange_rate_to_TRY_800px_wide.plt diff --git a/gnuplot_scripts/Euro_exchange_rate_to_TRY_6000px_wide.plt b/gnuplot_scripts/Euro_exchange_rate_to_TRY_6000px_wide.plt new file mode 100644 index 0000000..6d6cbaa --- /dev/null +++ b/gnuplot_scripts/Euro_exchange_rate_to_TRY_6000px_wide.plt @@ -0,0 +1,90 @@ +# based on code of [[User:Gorgo]]/[[:c:File:Euro exchange rate to TRY.svg]] + +# gnuplot script for plotting eurofxref-hist.csv as obtained from +# http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html + +# download and unzip data if not available - delete eurofxref* to force new download. +# remove or comment out these lines in Windows/MacOS. +! [ -f eurofxref-hist.csv ] || wget http://www.ecb.int/stats/eurofxref/eurofxref-hist.zip +! [ -f eurofxref-hist.csv ] || unzip eurofxref-hist.zip + +# Start und Ende ermitteln (z.Zt. nur für Consolenausagabe) + stats 'eurofxref-hist.csv' every ::1 u (strptime("%Y-%m-%d",strcol(1))) nooutput + print ' -----Stats-(Timestamp)----' + print ' Start: ', strftime("%d. %B %Y",STATS_min) + print ' Ende: ', strftime("%d. %B %Y",STATS_max) + print ' --------------------------' +# Datum des letzten Updates oben links setzen +set label 'last update: ' . strftime("%Y-%m-%d",STATS_max) at screen 0.87, screen 0.9 + + +#input +set timefmt "%Y-%m-%d" +set datafile missing 'N/A' +set datafile separator ',' + +#output +set key bottom right +set style data lines +set border 11 # Rahmen unten (Bit 1) und links (+ Bit 2) +set grid # Gitterlinien verwenden +# Gitterlinienen per Hand setzen falls gewünscht +set style line 1 linetype rgb '#696969' linewidth 0.5 dashtype 0 # Def. Major-grid +set style line 2 linetype rgb '#C9C9C9' linewidth 0.5 dashtype 3 # def. Minor-grid +set grid xtics mxtics # eventuell noxtics und nomxtics +set grid ytics mytics # eventuell noytics und nomytics +set grid back # Gitter im Hintergrund +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':'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 nomirror +set mxtics 12 +#set xlabel 'Date' + + +set ylabel 'TRY' +set y2label 'TRY' +set format y '%.0f' +set format y2 '%.0f' + +set ytics 1 +set y2tics 1 +set mytics 5 +set my2tics 5 + +# Zebramuster +set style rect fillcolor lt -1 fillstyle solid 0.04 noborder +do for [i=1950:2050:1] { + rec_q1_begin =sprintf("%1.4d-04-01",i) + rec_q2_begin =sprintf("%1.4d-07-01",i) + rec_q3_begin =sprintf("%1.4d-10-01",i) + rec_end =sprintf("%1.4d-01-01",i + 1) + set object rectangle from rec_q1_begin,graph 0 to rec_end, graph 1 + set object rectangle from rec_q2_begin,graph 0 to rec_end, graph 1 + set object rectangle from rec_q3_begin,graph 0 to rec_end, graph 1 +} + +## gnuplot for SVG - gnuplot 4.2 / Ubuntu 8.10 +set term svg size 6000,400 font "Arial,16" + +set outp 'Euro exchange rate to TRY (6000px wide).svg' +set style line 1 lt rgb 'blue' lw 1 + +#available currencies: +#first one is $2, second $3 and so on +#USD,JPY,BGN,CYP,CZK,DKK,EEK,GBP,HUF,LTL,LVL,MTL,PLN,ROL,RON,SEK,SIT,SKK,CHF,ISK,NOK,HRK,RUB,TRL,TRY,AUD,BRL,CAD,CNY,HKD,IDR,ILS,INR,KRW,MXN,MYR,NZD,PHP,SGD,THB,ZAR + +plot \ + 'eurofxref-hist.csv' \ + usi 1:($26) axis x1y1 tit '1 EUR in TRY' lt rgb 'blue' lw 1,\ + 'eurofxref-hist.csv' \ + usi 1:($25/1000000) axis x1y1 tit '1 EUR in 1 000 000 TRL' lt rgb 'dark-violet' lw 1,\ + 'eurofxref-hist.csv' \ + usi 1:($26) axis x1y1 notit w p lc rgb 'black' lt 1 lw 1.5 pt 7 ps 0.06 ,\ + 'eurofxref-hist.csv' \ + usi 1:($25/1000000) axis x1y1 notit w p lc rgb 'black' lt 1 lw 1.5 pt 7 ps 0.06 ,\ diff --git a/gnuplot_scripts/Euro_exchange_rate_to_TRY_800px_wide.plt b/gnuplot_scripts/Euro_exchange_rate_to_TRY_800px_wide.plt new file mode 100644 index 0000000..e377ee9 --- /dev/null +++ b/gnuplot_scripts/Euro_exchange_rate_to_TRY_800px_wide.plt @@ -0,0 +1,87 @@ +# based on code of [[User:Gorgo]]/[[:c:File:Euro exchange rate to TRY.svg]] + +# gnuplot script for plotting eurofxref-hist.csv as obtained from +# http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html + +# download and unzip data if not available - delete eurofxref* to force new download. +# remove or comment out these lines in Windows/MacOS. +! [ -f eurofxref-hist.csv ] || wget http://www.ecb.int/stats/eurofxref/eurofxref-hist.zip +! [ -f eurofxref-hist.csv ] || unzip eurofxref-hist.zip + + +# Start und Ende ermitteln (z.Zt. nur für Consolenausagabe) + stats 'eurofxref-hist.csv' every ::1 u (strptime("%Y-%m-%d",strcol(1))) nooutput + print ' -----Stats-(Timestamp)----' + print ' Start: ', strftime("%d. %B %Y",STATS_min) + print ' Ende: ', strftime("%d. %B %Y",STATS_max) + print ' --------------------------' +# Datum des letzten Updates oben links setzen +# set label 'last update: ' . strftime("%d.%m.%Y",STATS_max) at graph 0.1, graph 0.9 + + +#input +set timefmt "%Y-%m-%d" +set datafile missing 'N/A' +set datafile separator ',' + +#output +set key bottom right +set style data lines +set border 9 # Rahmen unten (Bit 1) und links (+ Bit 2) +unset grid # Gitterlinien verwenden +# Gitterlinienen per Hand setzen falls gewünscht +set style line 1 linetype rgb '#696969' linewidth 0.5 dashtype 0 # Def. Major-grid +set style line 2 linetype rgb '#C9C9C9' linewidth 0.5 dashtype 3 # def. Minor-grid +set grid xtics mxtics # eventuell noxtics und nomxtics +set grid y2tics my2tics # eventuell noytics und nomytics +set grid back # Gitter im Hintergrund +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 nomirror +set mxtics 5 +# set xlabel 'Date' + + +unset ylabel + set y2label 'TRY' +unset format y + set format y2 '%.0f' +unset ytics + set y2tics 1 +unset mytics + set my2tics 5 +# set ytics nomirror + set y2tics nomirror + +# Zebramuster +set style rect fillcolor lt -1 fillstyle solid 0.03 noborder +do for [i=1950:2050:1] { + rec_q1_begin =sprintf("%1.4d-04-01",i) + rec_q2_begin =sprintf("%1.4d-07-01",i) + rec_q3_begin =sprintf("%1.4d-10-01",i) + rec_end =sprintf("%1.4d-01-01",i + 1) + set object rectangle from rec_q1_begin,graph 0 to rec_end, graph 1 + set object rectangle from rec_q2_begin,graph 0 to rec_end, graph 1 + set object rectangle from rec_q3_begin,graph 0 to rec_end, graph 1 +} + +## gnuplot for SVG - gnuplot 4.2 / Ubuntu 8.10 +set term svg size 800,400 font "Arial,16" + +set outp 'Euro exchange rate to TRY (800px wide).svg' +set style line 1 lt rgb 'blue' lw 1 + +#available currencies: +#first one is $2, second $3 and so on +#USD,JPY,BGN,CYP,CZK,DKK,EEK,GBP,HUF,LTL,LVL,MTL,PLN,ROL,RON,SEK,SIT,SKK,CHF,ISK,NOK,HRK,RUB,TRL,TRY,AUD,BRL,CAD,CNY,HKD,IDR,ILS,INR,KRW,MXN,MYR,NZD,PHP,SGD,THB,ZAR + +plot \ + 'eurofxref-hist.csv' \ + usi 1:($26) axis x1y2 tit '1 EUR in TRY' lt rgb 'blue' lw 1,\ + 'eurofxref-hist.csv' \ + usi 1:($25/1000000) axis x1y2 tit '1 EUR in 1 000 000 TRL' lt rgb 'dark-violet' lw 1,\ From b6ecfd194cb64c860b8783ada8a071b4d2fa3ecd Mon Sep 17 00:00:00 2001 From: Jonathan Golder Date: Tue, 16 Oct 2018 10:54:35 +0200 Subject: [PATCH 2/6] gnuplot_scripts: Remove download of source files --- gnuplot_scripts/Euro_exchange_rate_to_TRY_6000px_wide.plt | 4 ---- gnuplot_scripts/Euro_exchange_rate_to_TRY_800px_wide.plt | 5 ----- 2 files changed, 9 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 6d6cbaa..328619b 100644 --- a/gnuplot_scripts/Euro_exchange_rate_to_TRY_6000px_wide.plt +++ b/gnuplot_scripts/Euro_exchange_rate_to_TRY_6000px_wide.plt @@ -3,10 +3,6 @@ # gnuplot script for plotting eurofxref-hist.csv as obtained from # http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html -# download and unzip data if not available - delete eurofxref* to force new download. -# remove or comment out these lines in Windows/MacOS. -! [ -f eurofxref-hist.csv ] || wget http://www.ecb.int/stats/eurofxref/eurofxref-hist.zip -! [ -f eurofxref-hist.csv ] || unzip eurofxref-hist.zip # Start und Ende ermitteln (z.Zt. nur für Consolenausagabe) stats 'eurofxref-hist.csv' every ::1 u (strptime("%Y-%m-%d",strcol(1))) nooutput 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 e377ee9..d1fc149 100644 --- a/gnuplot_scripts/Euro_exchange_rate_to_TRY_800px_wide.plt +++ b/gnuplot_scripts/Euro_exchange_rate_to_TRY_800px_wide.plt @@ -3,11 +3,6 @@ # gnuplot script for plotting eurofxref-hist.csv as obtained from # http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html -# download and unzip data if not available - delete eurofxref* to force new download. -# remove or comment out these lines in Windows/MacOS. -! [ -f eurofxref-hist.csv ] || wget http://www.ecb.int/stats/eurofxref/eurofxref-hist.zip -! [ -f eurofxref-hist.csv ] || unzip eurofxref-hist.zip - # Start und Ende ermitteln (z.Zt. nur für Consolenausagabe) stats 'eurofxref-hist.csv' every ::1 u (strptime("%Y-%m-%d",strcol(1))) nooutput From c4b5b7c969e1cff9968f5f771bfec6317e2e2101 Mon Sep 17 00:00:00 2001 From: Jonathan Golder Date: Tue, 16 Oct 2018 10:57:13 +0200 Subject: [PATCH 3/6] gnuplot_scripts: Filenames for gnuplot via env-vars --- .../Euro_exchange_rate_to_TRY_6000px_wide.plt | 14 ++++++++------ .../Euro_exchange_rate_to_TRY_800px_wide.plt | 10 ++++++---- 2 files changed, 14 insertions(+), 10 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 328619b..39350af 100644 --- a/gnuplot_scripts/Euro_exchange_rate_to_TRY_6000px_wide.plt +++ b/gnuplot_scripts/Euro_exchange_rate_to_TRY_6000px_wide.plt @@ -3,9 +3,11 @@ # gnuplot script for plotting eurofxref-hist.csv as obtained from # http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html +infile=system("echo $INFILE") +outfile=system("echo $OUTFILE") # Start und Ende ermitteln (z.Zt. nur für Consolenausagabe) - stats 'eurofxref-hist.csv' every ::1 u (strptime("%Y-%m-%d",strcol(1))) nooutput + stats infile every ::1 u (strptime("%Y-%m-%d",strcol(1))) nooutput print ' -----Stats-(Timestamp)----' print ' Start: ', strftime("%d. %B %Y",STATS_min) print ' Ende: ', strftime("%d. %B %Y",STATS_max) @@ -68,7 +70,7 @@ do for [i=1950:2050:1] { ## gnuplot for SVG - gnuplot 4.2 / Ubuntu 8.10 set term svg size 6000,400 font "Arial,16" -set outp 'Euro exchange rate to TRY (6000px wide).svg' +set outp outfile set style line 1 lt rgb 'blue' lw 1 #available currencies: @@ -76,11 +78,11 @@ set style line 1 lt rgb 'blue' lw 1 #USD,JPY,BGN,CYP,CZK,DKK,EEK,GBP,HUF,LTL,LVL,MTL,PLN,ROL,RON,SEK,SIT,SKK,CHF,ISK,NOK,HRK,RUB,TRL,TRY,AUD,BRL,CAD,CNY,HKD,IDR,ILS,INR,KRW,MXN,MYR,NZD,PHP,SGD,THB,ZAR plot \ - 'eurofxref-hist.csv' \ + infile \ usi 1:($26) axis x1y1 tit '1 EUR in TRY' lt rgb 'blue' lw 1,\ - 'eurofxref-hist.csv' \ + infile \ usi 1:($25/1000000) axis x1y1 tit '1 EUR in 1 000 000 TRL' lt rgb 'dark-violet' lw 1,\ - 'eurofxref-hist.csv' \ + infile \ usi 1:($26) axis x1y1 notit w p lc rgb 'black' lt 1 lw 1.5 pt 7 ps 0.06 ,\ - 'eurofxref-hist.csv' \ + infile \ usi 1:($25/1000000) axis x1y1 notit w p lc rgb 'black' lt 1 lw 1.5 pt 7 ps 0.06 ,\ 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 d1fc149..64c52e2 100644 --- a/gnuplot_scripts/Euro_exchange_rate_to_TRY_800px_wide.plt +++ b/gnuplot_scripts/Euro_exchange_rate_to_TRY_800px_wide.plt @@ -3,9 +3,11 @@ # gnuplot script for plotting eurofxref-hist.csv as obtained from # http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html +infile=system("echo $INFILE") +outfile=system("echo $OUTFILE") # Start und Ende ermitteln (z.Zt. nur für Consolenausagabe) - stats 'eurofxref-hist.csv' every ::1 u (strptime("%Y-%m-%d",strcol(1))) nooutput + stats infile every ::1 u (strptime("%Y-%m-%d",strcol(1))) nooutput print ' -----Stats-(Timestamp)----' print ' Start: ', strftime("%d. %B %Y",STATS_min) print ' Ende: ', strftime("%d. %B %Y",STATS_max) @@ -68,7 +70,7 @@ do for [i=1950:2050:1] { ## gnuplot for SVG - gnuplot 4.2 / Ubuntu 8.10 set term svg size 800,400 font "Arial,16" -set outp 'Euro exchange rate to TRY (800px wide).svg' +set outp outfile set style line 1 lt rgb 'blue' lw 1 #available currencies: @@ -76,7 +78,7 @@ set style line 1 lt rgb 'blue' lw 1 #USD,JPY,BGN,CYP,CZK,DKK,EEK,GBP,HUF,LTL,LVL,MTL,PLN,ROL,RON,SEK,SIT,SKK,CHF,ISK,NOK,HRK,RUB,TRL,TRY,AUD,BRL,CAD,CNY,HKD,IDR,ILS,INR,KRW,MXN,MYR,NZD,PHP,SGD,THB,ZAR plot \ - 'eurofxref-hist.csv' \ + infile \ usi 1:($26) axis x1y2 tit '1 EUR in TRY' lt rgb 'blue' lw 1,\ - 'eurofxref-hist.csv' \ + infile \ usi 1:($25/1000000) axis x1y2 tit '1 EUR in 1 000 000 TRL' lt rgb 'dark-violet' lw 1,\ From d50c3185e77f5744f66f5438d377c2fc0e42a41b Mon Sep 17 00:00:00 2001 From: Jonathan Golder Date: Tue, 16 Oct 2018 11:12:04 +0200 Subject: [PATCH 4/6] gnuplot_scripts: Make gnuplot scripts compatible with gnuplot4.6 --- .../Euro_exchange_rate_to_TRY_6000px_wide.plt | 10 +++++++--- .../Euro_exchange_rate_to_TRY_800px_wide.plt | 12 ++++++++---- 2 files changed, 15 insertions(+), 7 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 39350af..c00fd82 100644 --- a/gnuplot_scripts/Euro_exchange_rate_to_TRY_6000px_wide.plt +++ b/gnuplot_scripts/Euro_exchange_rate_to_TRY_6000px_wide.plt @@ -27,8 +27,8 @@ set style data lines set border 11 # Rahmen unten (Bit 1) und links (+ Bit 2) set grid # Gitterlinien verwenden # Gitterlinienen per Hand setzen falls gewünscht -set style line 1 linetype rgb '#696969' linewidth 0.5 dashtype 0 # Def. Major-grid -set style line 2 linetype rgb '#C9C9C9' linewidth 0.5 dashtype 3 # def. Minor-grid +set style line 1 linetype rgb '#696969' linewidth 0.25 # Def. Major-grid +set style line 2 linetype rgb '#C9C9C9' linewidth 0.15# def. Minor-grid set grid xtics mxtics # eventuell noxtics und nomxtics set grid ytics mytics # eventuell noytics und nomytics set grid back # Gitter im Hintergrund @@ -68,7 +68,11 @@ do for [i=1950:2050:1] { } ## gnuplot for SVG - gnuplot 4.2 / Ubuntu 8.10 -set term svg size 6000,400 font "Arial,16" +if (GPVAL_VERSION >= 5.0) { + set term svg size 6000,400 font "Arial,16" +} else { + set term svg size 6000,400 font "Arial,12" +} set outp outfile set style line 1 lt rgb 'blue' lw 1 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 64c52e2..4e11b79 100644 --- a/gnuplot_scripts/Euro_exchange_rate_to_TRY_800px_wide.plt +++ b/gnuplot_scripts/Euro_exchange_rate_to_TRY_800px_wide.plt @@ -27,8 +27,8 @@ set style data lines set border 9 # Rahmen unten (Bit 1) und links (+ Bit 2) unset grid # Gitterlinien verwenden # Gitterlinienen per Hand setzen falls gewünscht -set style line 1 linetype rgb '#696969' linewidth 0.5 dashtype 0 # Def. Major-grid -set style line 2 linetype rgb '#C9C9C9' linewidth 0.5 dashtype 3 # def. Minor-grid +set style line 1 linetype rgb '#696969' linewidth 0.25 # Def. Major-grid +set style line 2 linetype rgb '#C9C9C9' linewidth 0.15 # def. Minor-grid set grid xtics mxtics # eventuell noxtics und nomxtics set grid y2tics my2tics # eventuell noytics und nomytics set grid back # Gitter im Hintergrund @@ -46,7 +46,7 @@ set mxtics 5 unset ylabel set y2label 'TRY' -unset format y +#unset format y set format y2 '%.0f' unset ytics set y2tics 1 @@ -68,7 +68,11 @@ do for [i=1950:2050:1] { } ## gnuplot for SVG - gnuplot 4.2 / Ubuntu 8.10 -set term svg size 800,400 font "Arial,16" +if (GPVAL_VERSION >= 5.0) { + set term svg size 800,400 font "Arial,16" +} else { + set term svg size 800,400 font "Arial,12" +} set outp outfile set style line 1 lt rgb 'blue' lw 1 From 42da10c041e82c17e70f3cde708e76a32d9facb5 Mon Sep 17 00:00:00 2001 From: Jonathan Golder Date: Tue, 16 Oct 2018 11:12:55 +0200 Subject: [PATCH 5/6] jobs: Configure new jobs --- jobs.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/jobs.json b/jobs.json index 601168a..d2e1afb 100644 --- a/jobs.json +++ b/jobs.json @@ -8,5 +8,15 @@ "image" : "TRY_exchange_rate_to_EUR_-_Turkish_Currency_and_Debt_Crisis_2018.svg", "script" : "TRY_exchange_rate_to_EUR_-_Turkish_Currency_and_Debt_Crisis_2018", "freq" : 1 + }, + { + "image" : "Euro_exchange_rate_to_TRY_(6000px_wide).svg", + "script" : "Euro_exchange_rate_to_TRY_6000px_wide", + "freq" : 1 + }, + { + "image" : "Euro_exchange_rate_to_TRY_(800px_wide).svg", + "script" : "Euro_exchange_rate_to_TRY_800px_wide", + "freq" : 7 } ] From 45279bb97e8128162e25ea140e513b996846ad52 Mon Sep 17 00:00:00 2001 From: Jonathan Golder Date: Tue, 16 Oct 2018 22:51:52 +0200 Subject: [PATCH 6/6] 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'