X-Git-Url: https://git.ao2.it/experiments/gnuplot_seasonal_plot.git/blobdiff_plain/8b232e5a5380c6787fb46997873f2cc5116bfe19..refs/heads/master:/modular_polar.gnuplot diff --git a/modular_polar.gnuplot b/modular_polar.gnuplot index 4c00f2f..2007101 100755 --- a/modular_polar.gnuplot +++ b/modular_polar.gnuplot @@ -56,7 +56,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)