Gnuplot errors and can not get plot

Dear FLUKA experts,

I recently updated Fluka and Flair. But I can not get the plot from the flair. The error message is as below. I can not figure out the problem.

The flair and inp files are attached for troubleshooting.
Thanks in advance for your help.

Best regards,


test_DDD.flair (3.1 KB)
test_DDD.inp (2.5 KB)

Dear @zhaojf99,

Could you explicitly mention the versions of FLUKA and FLAIR that you are using? I have successfully ran your files.

For ‘test_DDD_22_plot’:

For ‘test_DDD_21_plot’, however, one cannot plot a 2D projection if you have just 1 bin in any dimension. If you want a 2D plot, then you should adjust the USRBIN.

Let me know if I can be of further assistance.


The problem is caused by the command “set format ‘%h’”, which does not exist in Gnuplot 4.6 but does in version 5.0. This problem arose after the release of Gnuplot 5.0. So the solution is either removing the set format ‘%h’ to make draw compatible with older versions of Gnuplot or updating to Gunplot 5.0. I choose the latter one. The flair can work to draw a beautiful graph. I don’t know if anyone else will have the same problem. I use Centos 7.