Not getting gradiant colour

I have tried to make this script but I get only blue color instead of getting 3 gradient color (576.6 KB)

aiming for this kind of result

Hello @bhavesh.
It appears that your analysis surface geometry needs to be flipped, since radiation received onto the backside of a surface doesn’t compute.