Hi Johnsold,
In this thread, I want to plot a 3D graph using the data I currently have but in another thread I am trying to find ways to shorten the time needed to acquire the data or perhaps find a pattern.
Hi Ben,
I look thrugh your car example and can start to understand abit.
Please advice me, I am not really sure am I doing it right. The attached vi is what I attempted, it is edited from yur car.vi. The expected result in my mind and what I actually want is a colum 0 and column 1 as the surface and column 2 as a "mountain". I am having problem with the z matrix(I am not sure how to get it). Thanks!!!
Hi Ben,
Please advice me. This is labview version 8.0.
Go back to the Parametric plot as shown in the Car example.
Play around with the contant values I defined until you understand how each value works.
What you should come to find is the surface is plotted as if it is a mesh where the intersection of the mesh are defined by "triplets" (X,Y,Z) where the X values come from the 2d X array the 2d Y array and the 2d Z array.
Note: You can leave the W vector unwired and the graph will render the color based on the Z values.
You should then look at each of the points in your 2d data as if they are the "Z" array. You then should develop code that will produce teh X and Y arrays you need.
So after you understand what the 3D graph needs then write code to give it what it wants. So the challenge before you is to learn how to develop two 2D arrays that will define the X and Y cordinates of your data.
I suspect this is dirt simple once YOU learn how to produce the required arrays.
I try to teach pepole to fish so that they can feed themselves.
Ben
Hi Ben,
can you take a look at the image did I get the value XYZ correctly? This is just a portion of it
Hi Ben,
This is my 3D graph from different angle.
Can you advice me why when I use the3D Parametric Surface.vi I can get the 3D graph.
However, when I put the array in the car example's vi exactly the same code only put in my 2D array for X,Y & Z, it display:
Not off hand.
Those graphs look nice.
See you did not need me after all.
Good job!
Ben
Hi Ben,
There is something that I like to clarrify with you, the 3D Surface graph and 3D Parametric graph is the same? It is just how you input your X & Y in 1D array form in Surface graph while Parametric graph is how you input your X & Y in 2D array afform.