Compare commits
13
Commits
6ec8ebc63a
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
446771f1a4 | ||
|
|
49bf0e7c64 | ||
|
|
5eb512655c | ||
|
|
56ec2b523e | ||
|
|
28e492d10a | ||
|
|
30738bddc0 | ||
|
|
59a43e8806 | ||
|
|
950d436cd5 | ||
|
|
45279bb97e | ||
|
|
42da10c041 | ||
|
|
d50c3185e7 | ||
|
|
4eced4595b | ||
|
|
42875aebd8 |
+8
-3
@@ -1,8 +1,6 @@
|
|||||||
|
#!/usr/bin/env gnuplot
|
||||||
# based on code of [[User:Gorgo]]/[[:c:File:Euro exchange rate to TRY.svg]]
|
# 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")
|
infile=system("echo $INFILE")
|
||||||
outfile=system("echo $OUTFILE")
|
outfile=system("echo $OUTFILE")
|
||||||
|
|
||||||
@@ -38,6 +36,13 @@ set grid linestyle 1, linestyle 2 # Setzen des linestyle für Major u. Minor
|
|||||||
set xdata time
|
set xdata time
|
||||||
set x2data 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) {
|
if (GPVAL_VERSION >= 5.0) {
|
||||||
set xtics rotate by +15 center offset 0,-0.5
|
set xtics rotate by +15 center offset 0,-0.5
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
|
#!/usr/bin/env gnuplot
|
||||||
# based on code of [[User:Gorgo]]/[[:c:File:Euro exchange rate to TRY.svg]]
|
# 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")
|
infile=system("echo $INFILE")
|
||||||
outfile=system("echo $OUTFILE")
|
outfile=system("echo $OUTFILE")
|
||||||
|
|
||||||
@@ -27,8 +25,8 @@ set style data lines
|
|||||||
set border 11 # Rahmen unten (Bit 1) und links (+ Bit 2)
|
set border 11 # Rahmen unten (Bit 1) und links (+ Bit 2)
|
||||||
set grid # Gitterlinien verwenden
|
set 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.5 dashtype 0 # Def. Major-grid
|
set style line 1 linetype rgb '#696969' linewidth 0.25 # Def. Major-grid
|
||||||
set style line 2 linetype rgb '#C9C9C9' linewidth 0.5 dashtype 3 # def. Minor-grid
|
set style line 2 linetype rgb '#C9C9C9' linewidth 0.15# def. Minor-grid
|
||||||
set grid xtics mxtics # eventuell noxtics und nomxtics
|
set grid xtics mxtics # eventuell noxtics und nomxtics
|
||||||
set grid ytics mytics # eventuell noytics und nomytics
|
set grid ytics mytics # eventuell noytics und nomytics
|
||||||
set grid back # Gitter im Hintergrund
|
set grid back # Gitter im Hintergrund
|
||||||
@@ -39,7 +37,7 @@ set xdata time
|
|||||||
set format x '%Y'
|
set format x '%Y'
|
||||||
set xrange ['1998-12-31':'2018-11-01']
|
set xrange ['1998-12-31':'2018-11-01']
|
||||||
set xrange ['1998-12-31':STATS_max + 60*60*24*21] # 21 Tage 'Luft'
|
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 xtics nomirror
|
||||||
set mxtics 12
|
set mxtics 12
|
||||||
#set xlabel 'Date'
|
#set xlabel 'Date'
|
||||||
@@ -68,7 +66,11 @@ do for [i=1950:2050:1] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
## gnuplot for SVG - gnuplot 4.2 / Ubuntu 8.10
|
## 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 outp outfile
|
||||||
set style line 1 lt rgb 'blue' lw 1
|
set style line 1 lt rgb 'blue' lw 1
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
|
#!/usr/bin/env gnuplot
|
||||||
# based on code of [[User:Gorgo]]/[[:c:File:Euro exchange rate to TRY.svg]]
|
# 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")
|
infile=system("echo $INFILE")
|
||||||
outfile=system("echo $OUTFILE")
|
outfile=system("echo $OUTFILE")
|
||||||
|
|
||||||
@@ -27,8 +25,8 @@ set style data lines
|
|||||||
set border 9 # Rahmen unten (Bit 1) und links (+ Bit 2)
|
set border 9 # Rahmen unten (Bit 1) und links (+ Bit 2)
|
||||||
unset grid # Gitterlinien verwenden
|
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.5 dashtype 0 # Def. Major-grid
|
set style line 1 linetype rgb '#696969' linewidth 0.25 # Def. Major-grid
|
||||||
set style line 2 linetype rgb '#C9C9C9' linewidth 0.5 dashtype 3 # def. Minor-grid
|
set style line 2 linetype rgb '#C9C9C9' linewidth 0.15 # def. Minor-grid
|
||||||
set grid xtics mxtics # eventuell noxtics und nomxtics
|
set grid xtics mxtics # eventuell noxtics und nomxtics
|
||||||
set grid y2tics my2tics # eventuell noytics und nomytics
|
set grid y2tics my2tics # eventuell noytics und nomytics
|
||||||
set grid back # Gitter im Hintergrund
|
set grid back # Gitter im Hintergrund
|
||||||
@@ -38,7 +36,7 @@ set grid linestyle 1, linestyle 2 # Setzen des linestyle für Major u. Minor
|
|||||||
set xdata time
|
set xdata time
|
||||||
set format x '%Y'
|
set format x '%Y'
|
||||||
set xrange ['1998-12-31':STATS_max + 60*60*24*150] # 150 Tage 'Luft'
|
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 xtics nomirror
|
||||||
set mxtics 5
|
set mxtics 5
|
||||||
# set xlabel 'Date'
|
# set xlabel 'Date'
|
||||||
@@ -46,7 +44,7 @@ set mxtics 5
|
|||||||
|
|
||||||
unset ylabel
|
unset ylabel
|
||||||
set y2label 'TRY'
|
set y2label 'TRY'
|
||||||
unset format y
|
#unset format y
|
||||||
set format y2 '%.0f'
|
set format y2 '%.0f'
|
||||||
unset ytics
|
unset ytics
|
||||||
set y2tics 1
|
set y2tics 1
|
||||||
@@ -68,7 +66,11 @@ do for [i=1950:2050:1] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
## gnuplot for SVG - gnuplot 4.2 / Ubuntu 8.10
|
## 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 outp outfile
|
||||||
set style line 1 lt rgb 'blue' lw 1
|
set style line 1 lt rgb 'blue' lw 1
|
||||||
|
|||||||
+8
-3
@@ -1,8 +1,6 @@
|
|||||||
|
#!/usr/bin/env gnuplot
|
||||||
# based on code of [[User:Gorgo]]/[[:c:File:Euro exchange rate to TRY.svg]]
|
# 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")
|
infile=system("echo $INFILE")
|
||||||
outfile=system("echo $OUTFILE")
|
outfile=system("echo $OUTFILE")
|
||||||
|
|
||||||
@@ -38,6 +36,13 @@ set grid linestyle 1, linestyle 2 # Setzen des linestyle für Major u. Minor
|
|||||||
set xdata time
|
set xdata time
|
||||||
set x2data 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) {
|
if (GPVAL_VERSION >= 5.0) {
|
||||||
set xtics rotate by +15 center offset 0,-0.5
|
set xtics rotate by +15 center offset 0,-0.5
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"image" : "Euro_exchange_rate_to_TRY_-_Turkish_Currency_and_Debt_Crisis_2018.svg",
|
"image" : "Euro_exchange_rate_to_TRY_(6000px_wide).svg",
|
||||||
"script" : "Euro_exchange_rate_to_TRY_-_Turkish_Currency_and_Debt_Crisis_2018",
|
"script" : "Euro_exchange_rate_to_TRY_6000px_wide",
|
||||||
"freq" : 1
|
"freq" : 30
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"image" : "TRY_exchange_rate_to_EUR_-_Turkish_Currency_and_Debt_Crisis_2018.svg",
|
"image" : "Euro_exchange_rate_to_TRY_(800px_wide).svg",
|
||||||
"script" : "TRY_exchange_rate_to_EUR_-_Turkish_Currency_and_Debt_Crisis_2018",
|
"script" : "Euro_exchange_rate_to_TRY_800px_wide",
|
||||||
"freq" : 1
|
"freq" : 30
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user