Browse Source

Make gnuplot scripts compatible with gnuplot4.6

develop
Jonathan Golder 3 years ago
parent
commit
f762fd6d02
2 changed files with 25 additions and 9 deletions
  1. +12
    -4
      gnuplot_scripts/Euro_exchange_rate_to_TRY_-_Turkish_Currency_and_Debt_Crisis_2018.plt
  2. +13
    -5
      gnuplot_scripts/TRY_exchange_rate_to_EUR_-_Turkish_Currency_and_Debt_Crisis_2018.plt

+ 12
- 4
gnuplot_scripts/Euro_exchange_rate_to_TRY_-_Turkish_Currency_and_Debt_Crisis_2018.plt View File

@ -26,8 +26,8 @@ set style data lines
set border 3 # 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 x2tics
set grid ytics mytics # eventuell noytics und nomytics
@ -38,7 +38,11 @@ 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 rotate by +15 center offset 0,-0.5
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']
@ -68,7 +72,11 @@ do for [i=1:12:2] {
}
## 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


+ 13
- 5
gnuplot_scripts/TRY_exchange_rate_to_EUR_-_Turkish_Currency_and_Debt_Crisis_2018.plt View File

@ -26,8 +26,8 @@ set style data lines
set border 3 # 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 x2tics
set grid ytics mytics # eventuell noytics und nomytics
@ -38,7 +38,11 @@ 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 rotate by +15 center offset 0,-0.5
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']
@ -67,8 +71,12 @@ 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
set term svg size 800,400 font "Arial,16"
## gnuplot for SVG - gnuplot 4.2 / Ubuntu 8.10
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


Loading…
Cancel
Save