I have a data file which is a result of numerical computation. This file samples a certain quantity as a function of spherical angles r(th, ph).
th ph r
0.012 1.456 24
0.014 1.25 23.5
......
The spherical angles span the entire parametric surface of a sphere, but DO NOT form any obvious mesh. For simplicity, assume that the spherical angles are random.
I would like to plot a surface fitting these data. Note that the surface I am plotting is not convex.
I have gone through matlibplot and Mayavi, and in all cases I am required to provide a 2D array that I don't have.
I do not know if I fully understood your question but I tried anyway to provide the possible plotting (using plot_surface AND plotly) of a smoothed, partially random surface and a fully random one (with a r = f(theta,phi)).
The following are the std output for the two 'ways' (in the order presented in the code):

plotly version (same order of representation):