I have a function dependent on phi and theta, which I want to plot on the surface of a sphere. The date is stored in a .txt file with the columns:
1: x = R*s
I found the solution to my problem by adding the following line:
set pm3d depthorder