Hello, the stat box covers the color scale… is there a way to resize the plot, so that on the left I’ve the plot and on the right (out of the plot) I’ve the stat box?

And one more question…is there a way to change the y-azis versus? and the x axis position? I mean… I would have the x axis on the top of the plot and the y axis versus pointing on the bottom (i.e. on the top I’ve negative numbers and on the bottom positive ones)
Thank you

For “CONT4Z” (and “SURF1”), the first drawn “non-white pixels” correspond to “bin centers” of the “most external” bins.
If you want “entire bins” with colors, you need to use “COLZ”.

Looking more closely at your “data.txt” file, you should use (for the x-axis, instead of the “full precision” with 399 bins, you can use 133 or 57 or 21 or 19 or 7 or 3, and for the y-axis, instead of the “full precision” with 10 bins, you can use 5 or 2):

You also need to talk to the author of your "data.txt” file. There seems to be a serious bug in it. All entries with x = 0 and y != 0 are present twice in this file (then the histogram bins with x = 0 are around 2 times higher than the neighboring ones).