5 Commits
Author SHA1 Message Date
golderweb 49bf0e7c64 jobs: Reduce update freq for turkish lira longterm
Daily/weekly updates not longer needed
2019-03-04 20:56:55 +01:00
golderweb 5eb512655c jobs: Remove 2018only files
Updating (daily) not longer needed
2019-03-04 20:55:23 +01:00
golderweb 28e492d10a gnuplot_scripts: Prepare scripts for upload
Gnuplot scripts will now be automatically published on commons file
description page
2018-10-21 20:07:44 +02:00
golderweb 59a43e8806 gnuplot_scripts: Fix wrong placed xtics
Thanks [User:Summer ... hier!](https://de.wikipedia.org/wiki/Benutzer:Summer_..._hier!)
2018-10-17 12:32:01 +02:00
golderweb 45279bb97e gnuplot_scripts: Fix wrong date format
According to http://gnuplot.sourceforge.net/docs_4.2/node295.html
GnuPlot4.6 otherwise sets wrong xtics
2018-10-16 22:51:52 +02:00
5 changed files with 43 additions and 47 deletions
@@ -1,8 +1,6 @@
#!/usr/bin/env gnuplot
# 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
infile=system("echo $INFILE")
outfile=system("echo $OUTFILE")
@@ -23,33 +21,40 @@ set datafile separator ','
#output
set key bottom right
set style data lines
set border 3 # Rahmen unten (Bit 1) und links (+ Bit 2)
set border 3 # Rahmen unten (Bit 1) und links (+ Bit 2)
unset grid # Gitterlinien verwenden
# Gitterlinienen per Hand setzen falls gewünscht
# Gitterlinienen per Hand setzen falls gewünscht
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 noxtics nomxtics # Keine Gitterlinen an der 1. X-Achse
set grid x2tics
set grid ytics mytics # Gitterl. an der Y-Achse
set grid back # Gitter im Hintergrund
set grid linestyle 1, linestyle 2 # Setzen des linestyle für Major u. Minor
set grid linestyle 1, linestyle 2 # Setzen des linestyle für Major u. Minor
# die Kalenderwochen-Markierung machen wir über x2 !!!
set xdata time
set x2data time
set format x '1. %b'
set format x '1. %b'
set xtics ('') # leeren Str setzen damit per for-Schleife
# addiert werden kann
do for [month_tic=1:12] {
new_xtic = gprintf("2018-%02.0f-01", month_tic)
# print 'Setze xtic bei: ' . new_xtic # Ausgabe für Tests
set xtics add ( new_xtic )
}
if (GPVAL_VERSION >= 5.0) {
set xtics rotate by +15 center offset 0,-0.5
} else {
set xtics rotate by +15 center offset 0,-0.75
}
set format x2 ''
set xrange ['2018-01-01':'2019-01-01']
set x2range ['2018-01-01':'2019-01-01']
set xrange ['2018-01-01':'2019-01-01']
set x2range ['2018-01-01':'2019-01-01']
set x2tics '2018-01-01', 60 * 60 * 24 * 7
set x2tic scale 0
set xtics nomirror
unset mxtics
set xtics nomirror
unset mxtics
set xlabel '2018'
@@ -62,8 +67,8 @@ set ytics 1
set mytics 5
set ytics nomirror
# Zebramuster
set style rect fillcolor lt -1 fillstyle solid 0.06 noborder
# Zebramuster
set style rect fillcolor lt -1 fillstyle solid 0.06 noborder
do for [i=1:12:2] {
marker_start=sprintf("2018-%1.2d-01",i)
marker_stop =sprintf("2018-%1.2d-01",i+1)
@@ -71,7 +76,7 @@ do for [i=1:12:2] {
set object rectangle from marker_start,graph 0 to marker_stop, graph 1
}
## gnuplot for SVG - gnuplot 4.2 / Ubuntu 8.10
## gnuplot for SVG - gnuplot 4.2 / Ubuntu 8.10
if (GPVAL_VERSION >= 5.0) {
set term svg size 800,400 font "Arial,16"
} else {
@@ -1,8 +1,6 @@
#!/usr/bin/env gnuplot
# 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
infile=system("echo $INFILE")
outfile=system("echo $OUTFILE")
@@ -39,7 +37,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'
@@ -1,8 +1,6 @@
#!/usr/bin/env gnuplot
# 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
infile=system("echo $INFILE")
outfile=system("echo $OUTFILE")
@@ -38,7 +36,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'
@@ -1,8 +1,6 @@
#!/usr/bin/env gnuplot
# 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
infile=system("echo $INFILE")
outfile=system("echo $OUTFILE")
@@ -23,33 +21,40 @@ set datafile separator ','
#output
set key top right
set style data lines
set border 3 # Rahmen unten (Bit 1) und links (+ Bit 2)
set border 3 # Rahmen unten (Bit 1) und links (+ Bit 2)
unset grid # Gitterlinien verwenden
# Gitterlinienen per Hand setzen falls gewünscht
# Gitterlinienen per Hand setzen falls gewünscht
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 noxtics nomxtics # Keine Gitterlinen an der 1. X-Achse
set grid x2tics
set grid ytics mytics # Gitterl. an der Y-Achse
set grid back # Gitter im Hintergrund
set grid linestyle 1, linestyle 2 # Setzen des linestyle für Major u. Minor
set grid linestyle 1, linestyle 2 # Setzen des linestyle für Major u. Minor
# die Kalenderwochen-Markierung machen wir über x2 !!!
set xdata time
set x2data time
set format x '1. %b'
set format x '1. %b'
set xtics ('') # leeren Str setzen damit per for-Schleife
# addiert werden kann
do for [month_tic=1:12] {
new_xtic = gprintf("2018-%02.0f-01", month_tic)
# print 'Setze xtic bei: ' . new_xtic # Ausgabe für Tests
set xtics add ( new_xtic )
}
if (GPVAL_VERSION >= 5.0) {
set xtics rotate by +15 center offset 0,-0.5
} else {
set xtics rotate by +15 center offset 0,-0.75
}
set format x2 ''
set xrange ['2018-01-01':'2019-01-01']
set x2range ['2018-01-01':'2019-01-01']
set xrange ['2018-01-01':'2019-01-01']
set x2range ['2018-01-01':'2019-01-01']
set x2tics '2018-01-01', 60 * 60 * 24 * 7
set x2tic scale 0
set xtics nomirror
unset mxtics
set xtics nomirror
unset mxtics
set xlabel '2018'
@@ -62,8 +67,8 @@ set ytics 0.05
set mytics 5
set ytics nomirror
# Zebramuster
set style rect fillcolor lt -1 fillstyle solid 0.06 noborder
# Zebramuster
set style rect fillcolor lt -1 fillstyle solid 0.06 noborder
do for [i=1:12:2] {
marker_start=sprintf("2018-%1.2d-01",i)
marker_stop =sprintf("2018-%1.2d-01",i+1)
+2 -12
View File
@@ -1,22 +1,12 @@
[
{
"image" : "Euro_exchange_rate_to_TRY_-_Turkish_Currency_and_Debt_Crisis_2018.svg",
"script" : "Euro_exchange_rate_to_TRY_-_Turkish_Currency_and_Debt_Crisis_2018",
"freq" : 1
},
{
"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
"freq" : 30
},
{
"image" : "Euro_exchange_rate_to_TRY_(800px_wide).svg",
"script" : "Euro_exchange_rate_to_TRY_800px_wide",
"freq" : 7
"freq" : 30
}
]