Make gnuplot scripts compatible with gnuplot4.6
This commit is contained in:
@@ -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'
|
||||
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
|
||||
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
|
||||
|
||||
@@ -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'
|
||||
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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user