gnuplot_scripts: Make gnuplot scripts compatible with gnuplot4.6
This commit is contained in:
@@ -27,8 +27,8 @@ set style data lines
|
||||
set border 11 # Rahmen unten (Bit 1) und links (+ Bit 2)
|
||||
set 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 ytics mytics # eventuell noytics und nomytics
|
||||
set grid back # Gitter im Hintergrund
|
||||
@@ -68,7 +68,11 @@ do for [i=1950:2050:1] {
|
||||
}
|
||||
|
||||
## 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 style line 1 lt rgb 'blue' lw 1
|
||||
|
||||
@@ -27,8 +27,8 @@ set style data lines
|
||||
set border 9 # 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 y2tics my2tics # eventuell noytics und nomytics
|
||||
set grid back # Gitter im Hintergrund
|
||||
@@ -46,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
|
||||
@@ -68,7 +68,11 @@ do for [i=1950:2050:1] {
|
||||
}
|
||||
|
||||
## 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
|
||||
|
||||
Reference in New Issue
Block a user