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