Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6ec8ebc63a | ||
|
|
9108cbbdf9 |
+3
-8
@@ -1,6 +1,8 @@
|
||||
#!/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")
|
||||
|
||||
@@ -36,13 +38,6 @@ set grid linestyle 1, linestyle 2 # Setzen des linestyle für Major u. Minor
|
||||
set xdata time
|
||||
set x2data time
|
||||
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 {
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#!/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")
|
||||
|
||||
@@ -37,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 '1950-01-01', 60 * 60 * 24 * 365.25 * 1
|
||||
set xtics '01.01.1950', 60 * 60 * 24 * 365.25 * 1
|
||||
set xtics nomirror
|
||||
set mxtics 12
|
||||
#set xlabel 'Date'
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#!/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")
|
||||
|
||||
@@ -36,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 '1950-01-01', 60 * 60 * 24 * 365.25 * 5
|
||||
set xtics '01.01.1950', 60 * 60 * 24 * 365.25 * 5
|
||||
set xtics nomirror
|
||||
set mxtics 5
|
||||
# set xlabel 'Date'
|
||||
@@ -44,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
|
||||
|
||||
+3
-8
@@ -1,6 +1,8 @@
|
||||
#!/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")
|
||||
|
||||
@@ -36,13 +38,6 @@ set grid linestyle 1, linestyle 2 # Setzen des linestyle für Major u. Minor
|
||||
set xdata time
|
||||
set x2data time
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user