Hi Matthias,
I am not sure if I am helping or not. You wrote;
"
Hm, I use LabView 7.0, but it looks like you do a surface graph with x and y being related to azimuth and elevation and z being measured data. The array is 3D, but essentially it is a function of two variables, azimuth and elevation. I have a function depending on three variables.
"
1) The code illustated should be the same in LV 7.0 as is illustrated.
2) That example is using multiple plots to achieve the final result.
The first "For Loop" is plotting multiple curves by passing three 1-d arrays where coresponding values of each array represt a triplet (X-Y-Z values) for each point the curve should pass through. The result curve is plotted starting with the first triplet (first element in each array) to the last. The "W" vector is omitted because I wanted each curve to have a unique color to make it easy to distinguish between the curves.
After competing all of the curves I then add another plot that that is a parametric surface. In this case the dat is presented as 2-d array and I alos specify the W vector so that I can control the color of the surface.
THe "2d" array (like the 1d array) contains quadruplets (? X-Y-Z-W) values for each point on the resulting surface. The arrangement of the quads within the 2-d array tells the 3-d graph which quads are adjacent to each other. If you viewed the surface as a grid with lines connceting adjacent points you would see a line from (X00, Y00, Z00, W0) [where X00 is the 0,0 element of the X-Matrix] to (X01, Y01, Z01, W01) and another connected to (X10, Y10, Z10, W10) etc. So the 2-d array only helps the 3d graph figure what points in scace should be connedted to each other.
I hope this is helping!
Ben
Message Edited by Ben on 07-20-2006 11:50 AM