10 Commits
Author SHA1 Message Date
golderweb 56ec2b523e Merge branch 'develop', state 2018-10-21 2018-10-21 20:09:20 +02: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 30738bddc0 Merge branch 'develop', state 2018-10-17 2018-10-17 12:35:33 +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 950d436cd5 Merge branch 'develop', state 2018-10-16 2018-10-16 22:58:49 +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
golderweb 42da10c041 jobs: Configure new jobs 2018-10-16 18:25:20 +02:00
golderweb d50c3185e7 gnuplot_scripts: Make gnuplot scripts compatible with gnuplot4.6 2018-10-16 18:25:09 +02:00
golderweb 4eced4595b Merge branch 'develop', state 2018-10-10 2018-10-10 15:28:16 +02:00
golderweb 42875aebd8 Merge branch 'develop', state 2018-10-05 2018-10-09 08:48:56 +02:00
4 changed files with 42 additions and 36 deletions
@@ -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")
@@ -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'
@@ -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,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
@@ -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 {