I want to plot a 3D antenna radiation pattern obtained from a field
simulator. The data is stored in a csv with the following structure:
#x, #y, #z, (#value)
The fourth column #value specifies the magnitude of the antenna gain in
the direction (0,0,0) - (x,y,z).
At first I want to plot a mesh of the (x,y,z) data, which should be
non-transparent (as it is supposed to be a surface plot).
I get a (more or less nice) graph with the different points specified in
the datafile. How can I create a surface plot using these points with
the color of the plot representing the distance to the origin? Or can I
use #value somehow to display a special color to the surface?
At the end, it should look like this:
the animation, just a single frame) or this:
Any help would be deeply appreciated!