gnuplot_scripts: Fix wrong placed xtics

Thanks [User:Summer ... hier!](https://de.wikipedia.org/wiki/Benutzer:Summer_..._hier!)
This commit is contained in:
2018-10-17 12:32:01 +02:00
parent 45279bb97e
commit 59a43e8806
2 changed files with 35 additions and 21 deletions

View File

@@ -38,6 +38,13 @@ 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 {

View File

@@ -38,6 +38,13 @@ 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 {