X-Git-Url: https://git.ao2.it/experiments/gnuplot_seasonal_plot.git/blobdiff_plain/8b232e5a5380c6787fb46997873f2cc5116bfe19..7f099fc6e92f32ef676cd9c6fcfe6a0e95e111c8:/modular_cartesian.gnuplot?ds=sidebyside diff --git a/modular_cartesian.gnuplot b/modular_cartesian.gnuplot index 07f7aeb..574806c 100755 --- a/modular_cartesian.gnuplot +++ b/modular_cartesian.gnuplot @@ -59,7 +59,7 @@ cblabels = 'set cbtics ( ' do for [i=year_min:year_max] { cblabels = cblabels . '"' . i .'" ' . i .',' } -cblabels = cblabels . '"" ' . (i + 1) .',' +cblabels = cblabels . '"" ' . int(year_max + 1) .',' cblabels = cblabels . ' )' eval(cblabels)