X-Git-Url: https://git.ao2.it/experiments/gnuplot_seasonal_plot.git/blobdiff_plain/8b232e5a5380c6787fb46997873f2cc5116bfe19..1b00c99a236bd3729b29efe9b43b20d4f42330ef:/modular_cartesian.gnuplot 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)