LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D surface plot - z matrix formation

Hi all.  I have 3D data (series of x,y,z points) which I'd like to plot as a surface.  The form of my data is 1D arrays of X,Y and Z.

 

The problem I'm having is I'm unsure how to form the z-matrix, which needs to be a 2D array.

 

I've looked at the shipped examples (all based on the same VI) and it's still unclear.  There is no detailed Context help for 3D graphs, only the statement in the second sentence shown in the picture.

 

Can anyone help to explain to me how to form the 2D z-matrix?  Thanks.

 

 

 

3D surface context help.jpg

0 Kudos
Message 1 of 5
(5,361 Views)

Probably the best way to visualize what the inputs mean is to just run a few simple test inputs to the Plot Helper VI and watch how it plots.  

 

3d Surface plot.PNG 

0 Kudos
Message 2 of 5
(5,325 Views)

I figured it out.

 

There needs to be more (there is none) documentation.

0 Kudos
Message 3 of 5
(5,287 Views)

So, what is it that helped you figure it out? I am trying to visualize what the Z-matrix corresponds to, but I can't see it. And sometimes, the explanation on LabVIEW help doesn't "explain", it just expands on the label. Are there any other resources on this?

0 Kudos
Message 4 of 5
(3,930 Views)

the easy way is that you regard your x and y as index of 2d array and z as value of this matrix 
so then plot is easy just wire z matrix it will be work 

0 Kudos
Message 5 of 5
(3,906 Views)