Plot 4D histogram

Can you check if the new one is working for you?
The previous one also working fine for me. May be as I am using Windows!!
I am attaching the output root file as well if it helps.
Best regards,
Arnab

b.root (146.8 KB)
3Dscat.C (3.1 KB)